BradElmore
8 years agoQrew Assistant Captain
Auto add child records
I have 4 tables -
-Projects
-Tasks
-Project Templates
-Tasks Templates
there a 3 Parent-Child relationships
1) Projects (P) - Tasks (C)
2) Project Templates (P) - Tasks Templates (C)
3) Project Templates (P) - Projects (C)
I would use the Template tables to create -- well -- templates -- Project Template A --- will have Template tasks associated (child details)
My goal is to create a new Project record and while in the "add record" mode --- I will select the Related Project template (parent) ---
At this point I would like to have a "magic formula button" -- titled "Auto Add Tasks" -- that when clicked:
1) It saves the Project record
2) It Imports/copies the Task Template records that are related to the Related Project Template - into the Tasks Table and relates the new tasks to the new Project record
3) Then redirects me back to the recently created Project record n Edit Mode -
This is a doozie -- I'm sure Mark has answered this before....Thanks for any and all help.
-Projects
-Tasks
-Project Templates
-Tasks Templates
there a 3 Parent-Child relationships
1) Projects (P) - Tasks (C)
2) Project Templates (P) - Tasks Templates (C)
3) Project Templates (P) - Projects (C)
I would use the Template tables to create -- well -- templates -- Project Template A --- will have Template tasks associated (child details)
My goal is to create a new Project record and while in the "add record" mode --- I will select the Related Project template (parent) ---
At this point I would like to have a "magic formula button" -- titled "Auto Add Tasks" -- that when clicked:
1) It saves the Project record
2) It Imports/copies the Task Template records that are related to the Related Project Template - into the Tasks Table and relates the new tasks to the new Project record
3) Then redirects me back to the recently created Project record n Edit Mode -
This is a doozie -- I'm sure Mark has answered this before....Thanks for any and all help.