Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving and Referencing SET PROC TO Setting
Message
De
22/02/2003 18:19:44
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00756634
Message ID:
00756638
Vues:
24
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform