Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using DBCxGetProp
Message
 
 
To
22/08/2008 16:05:21
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
01341243
Message ID:
01341279
Views:
11
For starters, you're passing the wrong parameters to DBCXGetProp(). The comments in the code should show you what you need.

Dan

>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
Previous
Reply
Map
View

Click here to load this message in the networking platform