Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open a table using same grid!
Message
 
À
25/11/1998 07:48:54
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00161277
Message ID:
00161290
Vues:
24
When you change the RecordSource of the Grid, You need to redefine the controlsource of every column. Try something like

SELECT NewTable
WITH THISFORM.Grid1
.RecordSource = "NewTable"
.ColumnCount = FCount()
FOR n = 1 to .ColumnCount
.Columns(n).ControlSource = "NewTable." + FIELD(n)
NEXT
.REFRESH
ENDWITH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform