Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New Child on New Parent
Message
De
27/06/2000 15:41:52
Bill Breay
Custom Business Software
Arvada, Colorado, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
New Child on New Parent
Divers
Thread ID:
00385351
Message ID:
00385351
Vues:
37
Kevin,

I was having a problem with creating a new child when a new parent was created in a cbizobjmaintenance form. I was getting a 1547 error. I has using the presavehook of the child to set the foreign key of the child record, but the presavehook is apparently not being checked during a new child on new parent situation. I moved the foreign key update code to the prerequeryhook of the child biz obj and the 1547 problem went away and the child record was created. I don't know if this is a special undocumented feature of the new child on new parent scenerio or ???

Thanks to Cathi for her response to move my thinking in a different direction which enabled me to find the problem.

Thanks

Bill
Répondre
Fil
Voir

Click here to load this message in the networking platform