Hi Gil ----
>Yeah, that's the whole idea. But the goal of my request is to be able to browse the table and read the field name on the column header because I don't know what those field names are.
>
LPARAMETERS cTable
LOCAL i,cBrowseString
IF !USED(cTable)
USE (cTable) IN 0
ENDIF
cBrowseString="FIELDS "
SELECT (cTable)
FOR i = 1 TO FCOUNT(cTable)
cBrowseString=cBrowseString+FIELD(i)+":H"+FIELD(i)
IF i < FCOUNT(cTABLE)
cBrowseString=cBrowseString+","
ENDIF
ENDFOR
BROWSE &cBrowseString
RETURN
Now type MyBrowse {tablename} from command window
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05