G
Graham
Hi,
Having problem with the following code. Can you please
show me what and where i place coding to stop when it is
at the end of records in my subform called "WagesImput
Input Query"
Hope you understand my problem.
Thanks
DoCmd.GoToControl "WagesImput Input Query"
DoCmd.GoToRecord acActiveDataObject, , acFirst
DoCmd.GoToControl "Check"
Bosst1 = 0
notick = 0
twotick = 0
Bosst1 = 0
Do
Bosst1 = Bosst1 + 1
Select Case check ' Evaluate Number.
Case -1 ' OK Just one Box Ticked
Case 0 'No Box is ticked
notick = notick + 1
Case Else 'More Than 1 Box Ticked
twotick = twotick + 1
End Select
DoCmd.GoToRecord acActiveDataObject, , acNext
Loop
Having problem with the following code. Can you please
show me what and where i place coding to stop when it is
at the end of records in my subform called "WagesImput
Input Query"
Hope you understand my problem.
Thanks
DoCmd.GoToControl "WagesImput Input Query"
DoCmd.GoToRecord acActiveDataObject, , acFirst
DoCmd.GoToControl "Check"
Bosst1 = 0
notick = 0
twotick = 0
Bosst1 = 0
Do
Bosst1 = Bosst1 + 1
Select Case check ' Evaluate Number.
Case -1 ' OK Just one Box Ticked
Case 0 'No Box is ticked
notick = notick + 1
Case Else 'More Than 1 Box Ticked
twotick = twotick + 1
End Select
DoCmd.GoToRecord acActiveDataObject, , acNext
Loop