Skip to main content
Question

Add Child Record from Gen Add Record Form and View Child Record

  • March 30, 2018
  • 0 replies
  • 46 views

Hello,

I have a process where users will add a new record and then from that add record form they need to be able to add a child record and have that parent record ID be related to that child record.  Once they save the child record it should show the child record in view mode.  As of right now it returns to the parent record in edit mode.

My questions are:
1.  How do I pass the related parent record id to the child record from an add record screen?
2. How do I view the child record after saving the child record?

Thanks all!
This topic has been closed for replies.

I think that this is low tech.

Go to the settings for the Parent table, Advanced Settings and check the box for

"Save Parent record automatically when a child record is added."

Then the default behaviour will be to return to the Parent record after saving the Child.

If you want to stick on view mode on the child after saving, then edit the Add Child code to comment out or remove that last part which says 

& "&z=" & Rurl()