Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dbgetprop Converts
Message
From
27/04/2004 21:31:05
John Tomblin
Service Station Systems, Inc.
San Jose, California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Dbgetprop Converts
Miscellaneous
Thread ID:
00898789
Message ID:
00898789
Views:
41
The first four lines of a function in stored procs are as follows:
function WhatEver
parameters TableField
FName = proper(substr(TableField, at(".", OldF) + 1))
FText = dbgetprop(TableField, "Field", "Caption")

I know that the TableField parameter is TableName.FieldName because line 3 returns the fieldname.
However, line 4 produces an error (Invalid function argument type)
TableName.Fieldname is an integer field but, I'm not sending the contents, just the name.
It appears that dbgetprop is evaluating the contents.

How can I get the desired "Caption"?
Next
Reply
Map
View

Click here to load this message in the networking platform