Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using DBCxGetProp
Message
From
22/08/2008 16:05:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Using DBCxGetProp
Miscellaneous
Thread ID:
01341243
Message ID:
01341243
Views:
57
Hello all. I am attempting to read field captions from a VFP table built with SDT.
I am trying to use DBCXGetProp, but I am having problems getting the syntax right. I want to get the caption of a field and store it for use in a query.
This is what I am trying:
oMeta = newobject('DBCXMgr', 'DBCXMGR.VCX')
oMeta.oSDTMgr.DBCOpen('iepoint.DBC', '', 1)
oMeta.SetDatabase(dbc())
? oMeta.DBCXGetProp('student', 'cfirstname', 'Caption')
This simply returns .NULL.
Obviously, it doesn't work. What am I doing wrong?
TIA
Amanda
Amanda Morton
System Analyst
Harrisburg Project
Next
Reply
Map
View

Click here to load this message in the networking platform