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?
+1
A:
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?
HansUp
2010-09-20 23:42:50
And Application.LoadFromText can import it back (since this is a backup).
Jeff O
2010-09-21 14:07:28