>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