You could create a table, which has a memo field, store the form in the memo field, then create it in your execscript from the memo field and run it.
JH -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vince Teachout Sent: Friday, January 11, 2008 7:39 PM To: ProFox Email List Subject: Any way for ExecScript() to see compiled forms? I just finished resolving a problem I had where I needed to DO FORM X on Startup, and also have it available as a menu option. Form X has 2 buttons, one that does DO FORM Y, and one DO FORM Z. The form would not start up during the startup code, with a "form not found error", but all forms would work fine if called from the menu. The menu code was "DO FORM X". I had been trying to implement a generic startup tasks function, data driven, that would do whatever was in a DBF field via VFP ExecScript(). The code in the field to be run by ExecScript() was also "DO FORM X". Apparently though, ExecScript() doesn't know anything about any forms compiled into the EXE - I would have to have an actual physical form, and specify the RUNTIME path, which is not possible in our case. Of course, it couldn't find the other two forms, either. For now, I hard-coded it, which will get me by, but is there a way I can make these compiled forms visible to ExecScript()? Thanks. -- Vince Teachout Senior Programmer/Analyst Recordables, Inc. 518-733-9411 [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]@shelbynet.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

