D
DS
I've got this code to loop through records. It almost works. The
criteria is if Location = "Bar" and if any records have Taxed=True
Then SDInclusive = False
and SDTaxed = True...
If not nothing happens...while, I got the nothing part!!!
Any help..I would appreciate.
DS
Private Sub Command75_Click()
With Forms!Sales.SalesDetails.Form.RecordsetClone
If Forms!Sales.SalesDetails![Location] = "Bar" And Taxed = True Then
Do While .EOF = False
.MoveFirst
.Edit
!SDInclusive = False
!SDTaxed = True
.Update
.MoveNext
End If
Loop
End With
End Sub
criteria is if Location = "Bar" and if any records have Taxed=True
Then SDInclusive = False
and SDTaxed = True...
If not nothing happens...while, I got the nothing part!!!
Any help..I would appreciate.
DS
Private Sub Command75_Click()
With Forms!Sales.SalesDetails.Form.RecordsetClone
If Forms!Sales.SalesDetails![Location] = "Bar" And Taxed = True Then
Do While .EOF = False
.MoveFirst
.Edit
!SDInclusive = False
!SDTaxed = True
.Update
.MoveNext
End If
Loop
End With
End Sub