Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DbGetprop - Invalid function type or count
Message
De
15/10/1998 10:23:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00147053
Message ID:
00147138
Vues:
36
Pete --

Cetin had it right....all three parts of the DBGETPROP command require quotes. An easy mistake to make is to not have quotes around alias.fieldname so the actual correct syntax is:

=DBGETPROP("alias.fieldname","Field","Caption")

Note that in your original post, no quotes around alias.fieldname.


>>>Using DbGetprop to retrieve the "Caption" property I receive the above error, my code is as follows Dbgetprop(alias.fieldname,'Field',Caption')
>>>TIA
>>>Pete Kane
>>Pete,
>>Seems you only missed the quotes.Dbgetprop("alias.fieldname",'Field',"Caption").
>>Cetin
>
>Cetin,
>sorry I forgot the quotes in my message but not in my code, this is a real puzzler
>Pete
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform