Hi Guys,
I have a report that opens from a button on a form that filters for different criteria (Option Group) and would like a label to appear on the report showing which one is being filtered for.
Here are the criteria:
Filter 1 = All --> Combination of 2 and 3
Filter 2 = Cleared --> only shown records with dates, check has been done.
Filter 3 = Uncleared --> Only shown blank date fields,no check.
I have tried this:
If Not IsNull(Me!OHCleared) Then
Me!LabelOHCleared.Visible = False
Else
Me!LabelOHUncleared.Visible = True
End If
If Not IsNull(Me!DisCleared) Then
Me!LabelDisCleared.Visible = False
Else
Me!LabelOHUncleared.Visible = True
End If
But it's not recognising the blanks in the date field and I'm not sure hot to do the all part.
I also have another option group (Disclosure Check) but i think it will be the same as this.
I hope this is clear enough and any help would be appreciated as always.
I have a report that opens from a button on a form that filters for different criteria (Option Group) and would like a label to appear on the report showing which one is being filtered for.
Here are the criteria:
Filter 1 = All --> Combination of 2 and 3
Filter 2 = Cleared --> only shown records with dates, check has been done.
Filter 3 = Uncleared --> Only shown blank date fields,no check.
I have tried this:
If Not IsNull(Me!OHCleared) Then
Me!LabelOHCleared.Visible = False
Else
Me!LabelOHUncleared.Visible = True
End If
If Not IsNull(Me!DisCleared) Then
Me!LabelDisCleared.Visible = False
Else
Me!LabelOHUncleared.Visible = True
End If
But it's not recognising the blanks in the date field and I'm not sure hot to do the all part.
I also have another option group (Disclosure Check) but i think it will be the same as this.
I hope this is clear enough and any help would be appreciated as always.