On an entry screen, I have 5 global fields, one of which is a quantity, 2 of which are date fields and the remaining two are text. After this is entered, the method will run a check and if the check is positive will create a new record in the master file waiting for the user to enter some additional information. Once that is done, pressing the Submit button will create a related record for the remainder of the information to be entered.
What I want to achieve is only allow the same number of related records to be created as are in the quantity field. For example, if the number is 2, then only 2 related records can be allowed to be created.
Ideally what I would like to see happen is the related records, whether that be 1,2, 3, etc be created and then displayed using Show Form as Dialog. Is that possible. TIA.