tags:

views:

52

answers:

1

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
And Application.LoadFromText can import it back (since this is a backup).
Jeff O