Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datasession
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01035024
Message ID:
01035035
Vues:
12
This message has been marked as a message which has helped to the initial question of the thread.
Property DatasessionID on form is Read/Write. You can change its value in Load() or Init()

Or You can use command SET DATASESION TO ...
form::any_method(liAnotherDS)
LOCAL liDSIDOld
liDSIDOld=m.This.DataSessionID
IF liAnotherDS>=0
   SET DATASESSION TO liAnotherDS && Change DS
ENDIF
** any code

SET DATASESSION TO (liDSIDOld) && Reset DS
RETURN
MartinJ

>then? :-)
>how can I impose a diferent datasession for that form ?
>
>>>but isn't the datasession property of a form available only at design time ?
>>Yes datasession property of a form is available at design time and read-only at run time.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform