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

Click here to load this message in the networking platform