Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update with childgrid
Message
 
À
04/12/1997 11:25:28
Per Strid
Ps Optisk Data
Uppsala, Suède
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00063822
Message ID:
00063934
Vues:
42
>I want to send my greatest thank's to Erik Moore, David Byrde and Barbara Paltiel.
>However the same thing occurs when I use the method yuo suggest! As soon as I add a childgrid to my form, the update of the parenttable seems to override the triggering of the function! If I remove the childgrid it works out just fine, but as soon that I have a related childtable it squeeks!

Per, if you update the parent table, by SELECTing it, even if you don't change the Parent record it will still re-set the record pointer in the child table to the first child record for that parent.

For example: Parent has 2 records, Per and Barbara. Per has 2 child records, Astrid and Ingrid. Barbara has 2 child records Steve and Sarah. If you switch from Per to Barbara, you will automatically be on the Steve record. However if you then move to Sarah and do a goto or similar call on the parent, Barbara, you will change back to Steve. Now change back to Per. Whether you were on Astrid or Ingrid doesn't matter, you will always return to Astrid, the first record.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform