开发者

ms-access: is it possible to save an access form separately from DB?

开发者 https://www.devze.com 2023-01-17 02:02 出处:网络
i have a front end access 开发者_运维百科with a bunch of forms and reports. i want to be able to save one of the forms by itself to its own file. how do i do it?You can use the undocumented SaveAsText

i have a front end access 开发者_运维百科with a bunch of forms and reports. i want to be able to save one of the forms by itself to its own file. how do i do it?


You can use the undocumented SaveAsText method to save your form as a plain text file.

Application.SaveAsText acForm, "frmLinks", CurrentProject.Path & Chr(92) & "frmLinks.txt"

You can use SaveAsText for other object types, too. Perhaps you would also be interested in saving acReport object types?

0

精彩评论

暂无评论...
验证码 换一张
取 消