Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 1547 (Cannot insert empty row) saving child bizob
Message
De
29/08/2002 12:10:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00694642
Message ID:
00695005
Vues:
13
>Hi Chris,
>
>trying to get behind your problem I fell over one question:
>Who is initiating the Parent Requery(). This should't be fired when
>you add a new child record ?

The Debugger, at this point. Pageframe.Activate has a Requery(), so the Activate fires every time I switch to the debugger.

>Lets say you have a good reason for the requery :
>Have you tried what happens if you do a ChildBizObj.Save() before the requery. The requery() does no explicit save() itself.
>I would just try to instantiate the Child itself and then do a new, fill the PK and FK and do a save just to get an idea if this workes without
>linked BizObjs ?

Trying that now, and it's giving me the 1547 return value from Save(), but is saving the record. Thanks for the help.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform