Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding _Access methods
Message
 
 
To
22/04/2008 11:41:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01312365
Message ID:
01312526
Views:
15
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform