A browse window has all the properties and methods of a grid. You can access them by using the
name clause of the browse command:
public oBrowse
browse name oBrowse nowait
for x = 1 to oBrowse.ColumnCount
oBrowse.columns[x].header1.caption = oBrowse.columns[x].controlsource
next x
This example uses the entire controlsource, but you could chop off the dbc name with string functions.
>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
kenweber
GCom2 Solutions
Microsoft Certified Professional