开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜