Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data session specific SETtings
Message
De
15/05/1997 13:58:53
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
 
 
À
15/05/1997 13:17:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00032452
Message ID:
00032458
Vues:
33
>I have begun to use a application object to store all of my framework procedures but
>have found that one of my procedures does not function from within an object.
>
>This procedure is the one that I call from forms that use a private datasession to
>set all those private datasession specific settings (i.e. set talk). I make a call
>to the procedure oApp.dessset(), but nothing happens. If I DO dessset from the
>form LOAD() method it works fine.
>
>I would really like to wrap this procedure into my application framework object. Is
>there a special way that I have to call it to make it work?


Pass the DataSessionID as a parameter and the first lines of dessset should be like:

PARAMETERS tnDataSessionID

SET DATASESSION TO tnDataSessionID

HTH
Matt McDonnell
...building a better mousetrap with moldy cheese...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform