Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid
Message
 
 
À
18/07/2002 16:41:07
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Grid
Divers
Thread ID:
00680112
Message ID:
00680215
Vues:
29
>Nick,
>
>Sorry to bother you again. I thank you for all your help. However, with this example you have given me to try I still get an error that the Alias name is already in use. For some reason the table is not closing properly. Any other suggestions?

The other suggestion would be to create a cursor in the load of the form:

create cursor myGridCursor (lSelected L, ....)

select * from MyTable where .. into curTemp
select myGridCursor
append from dbf('curTemp')
use in curTemp

When you need to re-run selection, do
select myGridCursor
zap
append from dbf('curTemp')

Use myGridCursor as a recordsource for your grid. This way you don't have to worry about grid reconstruction issues. It could be slower, than using result of select directly, but if you're producing just small amount of records, the difference in speed would be unnoticable.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform