Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing grids after table change
Message
De
01/12/1998 18:01:52
 
 
À
01/12/1998 17:56:58
Quinn Mayo
Quantified Pty Ltd
Melbourne, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00163011
Message ID:
00163012
Vues:
25
>Hi,
>i have a grid on a form (nothing special) which reads a file with an alias ff. I then change that file programaticly by first closing the file using the use command like this:
>
>select ff
>use
>
>and then open a new file by using
>
>use alltrim(substr(pfpsetup.filename,1,7))+"D" alais ff
>
>all the files have the same structer. Then i issue Thisform.grid1.refresh() and the grid goes blank.
>
>What am i doing wrong?
>thanks in advance
>
>Quinn

You should restore grid settings (at least recordsource,columncount and column.controlsources ) programmatically any time you change grid.recordsource.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform