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:05:00
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Saving and Referencing SET PROC TO Setting
Miscellaneous
Thread ID:
00756634
Message ID:
00756634
Views:
40
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
Next
Reply
Map
View

Click here to load this message in the networking platform