Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Value of unknown field
Message
From
27/08/2004 22:03:32
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
27/08/2004 21:59:31
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00937244
Message ID:
00937249
Views:
8
>>how can i know the value of an unknown field from field(1), field(2)... etc.
>
>The following sample will show field names, and their values, for the current record:
>
>
>for i = 1 to fcount()
>  ? field(i), "=", eval(field(i))
>next
>
The function is actually evaluate(). It is one of the few cases where I abbreviate some command or functions.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform