Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only