NetTalk Central

Author Topic: Form to Form with child file.  (Read 1906 times)

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Form to Form with child file.
« on: September 06, 2010, 12:15:04 PM »
I have a situation where I have a child fie but don't want to have a browse on the form of the parent. Also that there must be at least one record in the child.
I am trying to use the form to form technique of jumping off to the child form on clicking save, but if the child doesn't exist yet, then I get the record not found error.
I tried to put some code in to check for the existance of the record and add a blank related record. I can not find where to put that code.

I have  resorted to putting it in the calling procedure at postupdate and postinsert but that seems like not the best places for this. I'd rather it be withthe procedure that actually needs it.

Chris
Real programmers use copy con newapp.exe

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Re: Form to Form with child file.
« Reply #1 on: September 13, 2010, 01:42:22 PM »
The end of Validate on the parent record might meet your needs.