Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid display using view as recordsouce
Message
De
04/08/2003 07:35:07
 
 
À
03/08/2003 20:24:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00816350
Message ID:
00816428
Vues:
24
Hi Gaylen.

It is a parameterized view. In the load event I set up some dummy variable for the view and open the view. I then reset the variables based on the parameters I send over from the calling program, so I only see the records which meet the criteria from the calling program.

You can USE the view NODATA. As long as you do this in the form's load or in the form's DE, you can still specify the view as the grid's RecordSource in the property sheet of the form designer. Then, in the form's Init(), you just REQUERY() the view based on the parameters you receive from the calling form.

This will not close the view, thereby resetting the grid.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform