Hello

What alternatives do I have to get data into my child grid since I can't 
directly enter data into the child grid?


Paul McNary
[EMAIL PROTECTED]



Paul McNary wrote:
> Hello
> 
> I normally bottom-post but the mailing list cut it off.
> 
> Case 1, I am adding to both parent and child. The the self.Form.Save() 
> should save the parent, then do a saveall on the children if I 
> understand correctly. If I get this working then case 2 would be used to 
> add further rows. ie. like a VFP grid which always has a hot new row 
> available on the grid.
> 
> Case 2 - I have a parent record that is on the Form through 
> self.Form.requery(), go through record with next, prior, what ever.
> do the self.Form.new("public.cmpd_ingredients") to add a new row to the 
> child or the grid.
> 
> Case 3 - Data added to child database externally. Then I can change data 
> in those records and issue the self.Form.save(). However if I add a new 
> child it gives the error.
> 
> Both cases fail when trying to save the children.
> Case 1 the parent is saved then the error.
> 
> How else can I add a new record to the child Biz object?
> 
> Isn't this a normal 1 to many form, like an invoice or purchase order.
> How are others doing this and not running into the problem?
> 
> This is a common type of situation that I program for.
> 
> Do you have a solution for a 1 to many data entry form.
> The screencasts and the tutorial I found do a great job of displaying 1 
> to many after the fact but I haven't found code that helps when adding 
> the data the first time.
> 
> Thank you
> 
> Paul
> [EMAIL PROTECTED]
> 
> 


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to