Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using DBCxGetProp
Message
 
 
À
22/08/2008 16:05:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
01341243
Message ID:
01341279
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform