Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get a fieldname from its position
Message
From
03/06/2005 08:47:47
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01019645
Message ID:
01019793
Views:
21
>>>
? EVAL("c1." + FILED(i, "c1"))
>>
?EVAL(FIELD(3,"c1"))
>seems to work also.
>
>It does work only if cursor c1 is open in the current work area. Try
...
>SELECT 0
>? EVAL(FIELD(3,"c1"))
Right you are! ;-) But its interesting that it knows the name of the field.

Regards,
Jim
Previous
Reply
Map
View

Click here to load this message in the networking platform