Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there any way to browse a table without field caption
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00129442
Message ID:
00129831
Views:
18
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

Previous
Reply
Map
View

Click here to load this message in the networking platform