>>>Guys,
>>>
>>>Thanks for your replies, but I guess I didn't explain myself very well. I mean I would like to browse a table from the command window and see the actual field name on the column header instead of the caption that we set on the database for each field. Most often I need to know to name of the field I'm looking at, but the header contains the caption we've set for it.
>
>>Then you could simply do something like :
on key label "f2" wait window varread()
This one is easy for command window.
>>Cetin
>
>Cetin,
>
>What exactly does that do?
>
>If you read my last reply, I'm trying to browse a table from the command window in VFP and not see the field caption on the headers.
>
>Gil
Ooops. To my surprise varread() is returning the caption not field name in VFP. But this one worked :
on key label "f2" set message to test.columns(test.activecolumn).controls(2).controlsource
Cetin