PrettyMess
Board Regular
- Joined
- Feb 10, 2015
- Messages
- 66
Hi,
I have two fields in my table if both of these fields values are "0" I don't want the record to show in my form but if it happens to be any other combination I do want it to show.
I'm figuring it needs to be some sort of If statement but I'm not sure how to get this to reflect in my form.
Any help would be greatly appreciated.
I think it may need to look something like this:
Thanks
I have two fields in my table if both of these fields values are "0" I don't want the record to show in my form but if it happens to be any other combination I do want it to show.
I'm figuring it needs to be some sort of If statement but I'm not sure how to get this to reflect in my form.
Any help would be greatly appreciated.
I think it may need to look something like this:
Code:
Private Sub TypeList_AfterUpdate()
If (OutboundReservations.Value And InboundReservations.Value = "0") Then Me.showrecord = False
Else
Me.showrecord = True
End Sub
End If
Thanks