I have a search form that displays the company results of a search in a subform.
I am trying to figure out the best way to select these records (with a check box), click on an Add button, it will prompt for a job number and then add a child record to the selected records with the job number information in it.
I have a convoluted way of doing this with a query of the selected records from a yes/no field on the company record. However, this is not going to work in a multi user environment because multiple people could be selecting different records from different search results.
Can anyone suggest a way of doing this? Just a recap:
1. Select the search criteria for a company, click Search and the results are displayed in a subform. (This works properly)
2. Add a check box column to the result set. (Not sure if this check box should be bound to a column in the company table)
3. Check all the records that meet my criteria by ticking the checkbox
4. Click on Add button
5. Prompt form pops up for Job Number
6. Insert Job Number, click OK
7. A new child record is added to each record that was selected from the search page with the Job Number in it. (Relationship from Company to child(History) is a one to many: master_key(Company) to SubMaster_key(History))
Thanks for the help in advance!
I am trying to figure out the best way to select these records (with a check box), click on an Add button, it will prompt for a job number and then add a child record to the selected records with the job number information in it.
I have a convoluted way of doing this with a query of the selected records from a yes/no field on the company record. However, this is not going to work in a multi user environment because multiple people could be selecting different records from different search results.
Can anyone suggest a way of doing this? Just a recap:
1. Select the search criteria for a company, click Search and the results are displayed in a subform. (This works properly)
2. Add a check box column to the result set. (Not sure if this check box should be bound to a column in the company table)
3. Check all the records that meet my criteria by ticking the checkbox
4. Click on Add button
5. Prompt form pops up for Job Number
6. Insert Job Number, click OK
7. A new child record is added to each record that was selected from the search page with the Job Number in it. (Relationship from Company to child(History) is a one to many: master_key(Company) to SubMaster_key(History))
Thanks for the help in advance!