Re: Acc2K3: is there a way to programatically save form / module code to external files?
- From: "Allen Browne" <AllenBrowne@xxxxxxxxxxxxxx>
- Date: Sun, 30 Apr 2006 16:46:45 +0800
The undocumented SaveAsText might give you what you want, e.g.:
SaveAsText acForm, "Form1", "C:\Form1.txt"
LoadFromText it the matching statement.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"planetthoughtful" <planetthoughtful@xxxxxxxxx> wrote in message
news:1146384953.153338.27060@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All,
Just wondering if anyone can tell me if it's possible to
programatically save Access2003 code (ie code behind forms, as well as
class modules) to external files?
I'd like to use versioning software to keep track of code changes, but
this would require being able to save the files easily to *.cls and
*.bas files.
.
- Follow-Ups:
- Re: Acc2K3: is there a way to programatically save form / module code to external files?
- From: planetthoughtful
- Re: Acc2K3: is there a way to programatically save form / module code to external files?
- References:
- Acc2K3: is there a way to programatically save form / module code to external files?
- From: planetthoughtful
- Acc2K3: is there a way to programatically save form / module code to external files?
- Prev by Date: Acc2K3: is there a way to programatically save form / module code to external files?
- Next by Date: Re: Relationships. Does anyone use them?
- Previous by thread: Acc2K3: is there a way to programatically save form / module code to external files?
- Next by thread: Re: Acc2K3: is there a way to programatically save form / module code to external files?
- Index(es):
Relevant Pages
|