>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.
>
>Thanks,
>
>Gil
>
>>
>>
for each oCol in this.Columns
>>oCol.Header1.Caption = f( oCol.ControlSource )
>>endfor
>>
>>where f() strips off the table name.
>>
>>>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?
Gil,
Then you could simply do something like :
on key label "f2" wait window varread()
This one is easy for command window.
Cetin