>>>I'd like to browse a table and be able to read the actual field name on the column header instead of the caption from the database. Any ideas?
>>>
>>>
>>>Thanks,
>>>
>>>Gil
>>Use a grid control or a view.
>>Cetin
>If you want to browse from a command box you could create a utility program. Perhaps something like
>
>*BROWSE_NC
>PARAMETERS tablename
>SELECT (tablename)
>
>STORE "BROW FIELD " TO browse_string
>FOR I=1 TO FCOUNT()
>STORE browse_string+ "(FIELD(" +ALLTRIM(STR(I))+ "):H=FIELD(" +ALLTRIM(STR(I))+")"
>ENDFOR
>&browse_string
>RETURN
>
>Then call "BROWSE_NC(yourtable)" from the command box.
>(Of course this would be limited to the max macro string length)
Larry,
Too much work. This one is for just seeing fieldnames while browsing. So only "select * from mytable where .t." would be enough if you hate "on key label" (see my other reply).
Cetin