Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 1547 (Cannot insert empty row) saving child bizob
Message
From
29/08/2002 12:10:50
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00694642
Message ID:
00695005
Views:
14
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform