Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Test for a property
Message
 
To
12/07/2006 12:54:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01135767
Message ID:
01135778
Views:
14
>How can I test for the existence of an object property? If the property does not exist I would like to add it.
>
>Thank You
IF PEMSTATUS(oObjectHere,[PropertyNameHare], 5)
   oObjectHere.AddProperty([PropertyNameHare],[initial value here if you want])
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform