Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Problem!
Message
De
20/03/1999 22:27:34
 
 
À
20/03/1999 04:03:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00200084
Message ID:
00200225
Vues:
9
When we redefine the grid's recrdsource,then it's coulmn-controlsource will disappear,so you can try the process:

WITH THISFORM.GD_MYGRID
DECLARE GRIDARR[.COLUMNCOUNT]
FOR II=1 TO .COLUMNCOUNT
GRIDARR[II]=.COLUMNS[II].CONTROLSOURCE
NEXT II
.RECORDSOURCE=''

*****HERE IS THE PROCESS TO CHANGE NEW DATA FOR MY TABLE(TABLENAME)

.RECORDSOURCE='TABLENAME'
FOR II=1 TO .COLUMNCOUNT
.COLUMNS[II].CONTROLSOURCE=GRIDARR[II]
NEXT II

ENDWITH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform