M
Maverick
I have a subform that tracks multiple activities for each objective. However,
one of my objectives always has the same three activities. What I want to do
is, from the click of a checkbox (with the value = True), create the record
for activity 1 and put specific text in the activity field, create a record
for activity 2 and put specific text in the activity field, and the same for
activity 3.
Of course, I need to make sure that no activities already exist for this
objective before it performs this action. If activities exist in the subform,
then the code would eliminate (or append) the current records and replace
with the three specific activities.
I'd also like to be able to delete the three records if the checkbox = False.
Main form: frmObjectives
Subform: sfrmActivities
Linked Child field: ObjectiveID
Field to populate on subform: Activities
Checkbox to trigger code (via On Click event): chkMethodsUsed
Thank you.
one of my objectives always has the same three activities. What I want to do
is, from the click of a checkbox (with the value = True), create the record
for activity 1 and put specific text in the activity field, create a record
for activity 2 and put specific text in the activity field, and the same for
activity 3.
Of course, I need to make sure that no activities already exist for this
objective before it performs this action. If activities exist in the subform,
then the code would eliminate (or append) the current records and replace
with the three specific activities.
I'd also like to be able to delete the three records if the checkbox = False.
Main form: frmObjectives
Subform: sfrmActivities
Linked Child field: ObjectiveID
Field to populate on subform: Activities
Checkbox to trigger code (via On Click event): chkMethodsUsed
Thank you.