jamesdpmullan
Registered User.
- Local time
- Today, 21:04
- Joined
- Oct 21, 2013
- Messages
- 24
Hi,
Im trying to create a loop that goes through each record in a continuous form which then stops when a checkbox value = 0. At this point another checkbox value = -1 in the header.
If all records have a value of -1 then the loop stops at the end of the recordset.
This is the code i have put in but believe it be completely incorrect.
Attached image also.
thanks for your help
With Me.RecordsetClone
.MoveFirst
Do Until LineCompleteDIMS.Value = 0
If LineCompleteDIMS.Value = 0 Then
Check56.Value = -1
End If
.MoveNext
Loop
End With
Im trying to create a loop that goes through each record in a continuous form which then stops when a checkbox value = 0. At this point another checkbox value = -1 in the header.
If all records have a value of -1 then the loop stops at the end of the recordset.
This is the code i have put in but believe it be completely incorrect.
Attached image also.
thanks for your help
With Me.RecordsetClone
.MoveFirst
Do Until LineCompleteDIMS.Value = 0
If LineCompleteDIMS.Value = 0 Then
Check56.Value = -1
End If
.MoveNext
Loop
End With