Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about table columns
Message
 
 
To
14/07/2000 11:03:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00392440
Message ID:
00392450
Views:
10
>I curious whether or not it is possible to access a table by using some sort of column number rather than having to use the column name.
>
>example : tablename.columnname[3] to access the third column in the table.
>
>Thanks

Yes you can use the FIELD() function for this.

Ex.
replace ("tablename."+field(3)) with "someother value"
? eval(field(3))
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform