Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding _Access methods
Message
 
 
À
22/04/2008 11:41:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01312365
Message ID:
01312526
Vues:
16
Hi Albert,

I wasn't entirely correct. VFP Debugger shows the value of the property not the value returned by _Access. It's a good reason to keep them in sync.

>
>Thanks...I wondered if it should be "both" ways. Good to get a confirmation.
>
>
>
>>It doesn't matter what actual value of the property is because it can only be accessed through _Access method. However for consistency I would keep it updated.
>>
>>
>>* ioDocuments_Access()
>>* 1 and 1/2 way:
>>WITH THIS
>>  IF NOT ISNULL(.ioServer)  && Word automation server open etc
>>     STORE .ioServer.Documents TO .ioDocuments
>>  ELSE
>>     STORE .NULL. TO .ioDocuments
>>  ENDIF
>>ENDWITH
>>RETURN This.ioDocuments
>>
>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform