J
James
Hello.
Using Access 2000.
I have a Form ("frmMain") with a subForm which displays in Datasheet view
only.
There is a checkbox on frmMain.
On each line in the subForm there is also a checkbox.
What I am trying to do is this:
When the user clicks the checkbox on the main form I want each of the
checkboxes in the subForm Datasheet to also be "True" (checked in other
words)
Remember... there is an unlimited number of records in the subForm Datasheet
for each record in the main form.
I can get the first line of the subForm Datasheet to check using the
following code:
Private Sub Set_Received()
[Forms]![frm_Orders]![sfm_OrderDetails].[Form]![Received] = True
End Sub
(This code is called from the Click Event for the checkbox on the main
form.)
I don't know how to get Access to check the remaining checkboxes on the
subForm.
T.I.A.
Using Access 2000.
I have a Form ("frmMain") with a subForm which displays in Datasheet view
only.
There is a checkbox on frmMain.
On each line in the subForm there is also a checkbox.
What I am trying to do is this:
When the user clicks the checkbox on the main form I want each of the
checkboxes in the subForm Datasheet to also be "True" (checked in other
words)
Remember... there is an unlimited number of records in the subForm Datasheet
for each record in the main form.
I can get the first line of the subForm Datasheet to check using the
following code:
Private Sub Set_Received()
[Forms]![frm_Orders]![sfm_OrderDetails].[Form]![Received] = True
End Sub
(This code is called from the Click Event for the checkbox on the main
form.)
I don't know how to get Access to check the remaining checkboxes on the
subForm.
T.I.A.