Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to retrieve the caption of view’s field
Message
 
To
01/02/2002 12:54:34
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00614136
Message ID:
00614138
Views:
15
>I’m trying to retrieve the Caption for a field of a local view through the DBGetProp funtion:
>
>dbgetprop("fieldname", "field", "caption")
>
> but I should be missing something because I’m receiving error:
>
>“Value, type or number of Arguments not valid for the function” (translated)
>
>Thanks in advance and regards.
>
>Oscar Corte

You need to indicate the name of the view in the call to dbgetprop(). Try with:

dbgetprop("myview.fieldname", "field", "caption")
Hector Correa
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform