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?
精彩评论