Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there any way to browse a table without field caption
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00129442
Message ID:
00129831
Vues:
16
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

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform