andyeastes
Registered User.
- Local time
- Yesterday, 22:09
- Joined
- Dec 29, 2010
- Messages
- 31
I am using this snippet:
Forms!PullToShipMainFRM!InvLocFRM.Form.Location <> Me.Combo11.Value
to see if the values in subform1's combo11 does not have a match in subform2's location field. Subform 2 is a datasheet subform and could have either zero or multiple lines. If it has zero or one it works fine but when there are more than one and the record I am trying to edit has a location that is not the top one on subform 2 it is not catching that there is a match.
So basically it is only checking the first row for:
Forms!PullToShipMainFRM!InvLocFRM.Form.Location
Any ideas?
Forms!PullToShipMainFRM!InvLocFRM.Form.Location <> Me.Combo11.Value
to see if the values in subform1's combo11 does not have a match in subform2's location field. Subform 2 is a datasheet subform and could have either zero or multiple lines. If it has zero or one it works fine but when there are more than one and the record I am trying to edit has a location that is not the top one on subform 2 it is not catching that there is a match.
So basically it is only checking the first row for:
Forms!PullToShipMainFRM!InvLocFRM.Form.Location
Any ideas?