[AccessD] SaveAsText, LoadFromText (was: URGENT!! A2K - form won't load; is code lost??)

Gustav Brock gustav at cactus.dk
Sun Jul 25 07:08:08 CDT 2004


Hi Marty

> you can try to use the undocumented SaveAsText and LoadFromText, may
> help if an object is corrupted or otherwise behaving weirdly.
> At the debug/immediate window type:
> Application.SaveAsText acForm,"MyForm","c:\form.txt
> or depending on Access version
> SaveAsText acForm,"MyForm","c:\form.txt
> You can then load the file into a new MDB.
> Application.LoadFromText acForm,"MyForm","c:\from.txt"

This is very handy! Thanks for that tip.
This way you can easily include a small form and other objects in a
message like this without attachments.

Have you more small gems like this?

/gustav




More information about the AccessD mailing list