Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple Grids On A Single Form.
Message
De
18/03/1998 13:50:02
 
 
À
18/03/1998 13:30:14
John Goodrich
John A. Goodrich & Associates
San Jose, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00085420
Message ID:
00085430
Vues:
25
>I am trying to use two grids on one form.
>A Header File: Parent Table
>A Detail File: This uses a view
>A Sub Detail : File This also uses a view
>
>My detail file always goes to the first record.
>I have tried doing a requery afterrowcol. and it still
>goes back to the first record of the view on the detail
>file. I have also set the a key value and tried doing
>a locate. When I click on the detail grid I put wait
>windows in to see what the value of the records are
>after the afterrowcol fires it goes to the correct
>record and then goes back to the top.

When you do Requery in Afterrowcolchange you actually force new recordset (view) to be created and naturally enough it's created with pointer on the first record. Actually, you don't need to requery the same grid. Grid.Afterrowcolumnchange event should fire (if row changed) requery for the next level grid.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform