Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New Child on New Parent fails
Message
De
28/01/2002 12:13:27
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
28/01/2002 08:18:13
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00610720
Message ID:
00611671
Vues:
28
Another consideration we've used, is to add code to the pre-requery hook of the child object on the form, checking if the child is in the middle of adding a record...

RETURN !This.IsNew()

This way, you get the UI parent-child relationship requery behavior, yet it won't inadvertently trash your new records.

---J

>That's exactly it. I disabled auto-requery, now the new child record gets created and kept.
>
>Thanks.
>
>>Is the child bizobj also requerying when the parent requeries? If so, the requery will "blow it away."
>>---J
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform