Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How Do I Display Cursor in a Grid
Message
De
28/12/2001 07:07:11
 
 
À
28/12/2001 00:50:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00598679
Message ID:
00598716
Vues:
20
Hello Peter.

>> I created a form which display personal data for the supervisor and a command button which when click will open another form with a grid displaying all staff members of that department and supervisor assigned. <<

The easiest solution to your problem is to create a parameterized view for your staff members and supervisors by department. You can put the parameterized view in the date environment of the calling form with NoDataOnLoad set to true.

Then, in your modal pop-up form (I assume it is going to be a modal form), you can just set up the grid visually and use the parameterized view as its ControlSource. If the called modal form uses a default data session, it shares the datasession of the caller so it will "see" the parameterized view.

In order to get the correct data to show up in the grid, you just REQUERY your view using the correct department as the parameter.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform