I
iamrdbrown
I have 2 tables:
tblBrazerIDs (contains people information)
tblBrazerStatus (contains history for those people)
I have a form (frmBrazerID) with a subform (sfrmBrazerStatus). The main
form feeds into the tblBrazerIDs. The subform feeds into the table
tblBrazerStatus. I have a foreign key set up to link them so that records
can be added and new status reports created. There can be many status
records for one person.
I have a checkbox on the main form (frmBrazerID) that gets checked when a
person is trained and entered into the database. I need this to clear the
subform AND underlying tblBrazerStatus if a person leaves the company or
becomes inactive as a brazer.
I have a delete query that will delete the information, but I can't figure
out how to get it to run on the click event of the checkbox. The query uses
the BrazerID primary key to know which sub-records to delete. I can get the
records to delete, but the subform doesn't clear all records until I close
and reopen the whole form.
Is there an easier way to work around this than having to close the whole
form manually & reopen it to see the changes?
I really appreciate in help I can get...
TIA,
Ruth
tblBrazerIDs (contains people information)
tblBrazerStatus (contains history for those people)
I have a form (frmBrazerID) with a subform (sfrmBrazerStatus). The main
form feeds into the tblBrazerIDs. The subform feeds into the table
tblBrazerStatus. I have a foreign key set up to link them so that records
can be added and new status reports created. There can be many status
records for one person.
I have a checkbox on the main form (frmBrazerID) that gets checked when a
person is trained and entered into the database. I need this to clear the
subform AND underlying tblBrazerStatus if a person leaves the company or
becomes inactive as a brazer.
I have a delete query that will delete the information, but I can't figure
out how to get it to run on the click event of the checkbox. The query uses
the BrazerID primary key to know which sub-records to delete. I can get the
records to delete, but the subform doesn't clear all records until I close
and reopen the whole form.
Is there an easier way to work around this than having to close the whole
form manually & reopen it to see the changes?
I really appreciate in help I can get...
TIA,
Ruth