>Using this example, I can list the Fields in a Fox table,
>but how can I get at the data in the field, either to
>present it, or to modify it.
>FIELD( ) Function Example
>
>CLOSE DATABASES
>OPEN DATABASE (HOME( ) + 'samples\data\testdata')
>USE customer && Opens Customer table
>
>CLEAR
>FOR gnCount = 1 TO FCOUNT( ) && Loop for number of fields
> ? FIELD(gnCount) && Display each field
>NEXT
>?
>? 'Number of fields: ' + ALLTRIM(STR(gnCount -1))
Check out the EVAL() function
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only