johnlatona123
Innovator
- Local time
- Today, 09:52
- Joined
- Sep 20, 2011
- Messages
- 85
hi all,
i could use some help here.
ive got a form with a subform
subform has 2 check boxes
i have a button on the main form
im trying to click the button on the main form to reference one of the checkboxes on the subform and click another check box on the subform based on the value of the first check box. once the box i want to check becomes check, it will then run its own on-click action. the subform is a continuous record form.
so:
[FrmEntryControl] is the main form name
[master subform] is the subform name
[verify] is the check on the subform that is checked
[page1] is the check on the subform that i want to check
Private Sub Command140_Click()
'If [master subform].[verify] = True Then [master subform].[Page1] = True
'If Me.Parent![master subform].Form![verify] = True Then Me.Parent![master subform].Form![Page1] = True
End Sub
i tried these with no luck, advice?
i could use some help here.
ive got a form with a subform
subform has 2 check boxes
i have a button on the main form
im trying to click the button on the main form to reference one of the checkboxes on the subform and click another check box on the subform based on the value of the first check box. once the box i want to check becomes check, it will then run its own on-click action. the subform is a continuous record form.
so:
[FrmEntryControl] is the main form name
[master subform] is the subform name
[verify] is the check on the subform that is checked
[page1] is the check on the subform that i want to check
Private Sub Command140_Click()
'If [master subform].[verify] = True Then [master subform].[Page1] = True
'If Me.Parent![master subform].Form![verify] = True Then Me.Parent![master subform].Form![Page1] = True
End Sub
i tried these with no luck, advice?