Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where do I put SET TALK OFF?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00200784
Message ID:
00200954
Vues:
9
Eric,

I have a procedures class library that is
instantiated on system startup.

My form classes are based off a parent
form with datasession set to 2. In the
LOAD event, I call oProcs.SetCommands()

I placed SET("DATASESSION") in the debugger
and traced the load event, and the when code
steps into the SetCommands method, the data
session switches back to 1 because the code
object was created in data session 1.

Now I have not tested this with a procedure
file created with SET PROCEDURE TO, but this
is the behavior I found with form subclasses
and it makes sense because the code is scoped
to the datasession.

Your thoughts?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform