Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving and Referencing SET PROC TO Setting
Message
From
22/02/2003 18:19:44
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00756634
Message ID:
00756638
Views:
13
Thanks Sergey... I tried this and thought it wasn't working, but I had an non-existant file referenced. I couldn't find any documentation on this...

Renoir

>SET("PROCEDURE") will return the list of procedure files separated by commas. Keep in mind, that VFP could still use a same-named procedure from the old file if it's cached by VFP. You may try to issue CLEAR PROGRAM to avoid that.
>
>>Need to have a particular form reference a certain procedural file and then have the SET PROC TO set back to what it was previously. The problem is that a same-named procedure is being run from the wrong file after this form closes.
>>
>>A recommendation was made to save the current procedure to a variable (saveproc = set('procedure') in the form load event and then restoring it in the unload event (set procedure to &saveproc). I can find no way to do this. It would be easy if there were a SYS function that returned the current SET PROC settings, but I can't find anything. Any suggestions? Thanks!
>>
>>Regards, Renoir
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform