A
Arvi Laanemets
Hi
As I have catched cold lately, I'm in no form to find a solution myself.
I use a couple of controls on form to determine the filter condition. The
filter is set by procedure.
Private Sub cmdFilter_Click()
strFilter = <StringExpression>
Me.Filter = strFilter
Me.FilterOn = True
End Sub
It all works OK, but when there is set a filter condition, for which no
records are returned, then I encounter problems with calculated fields on
form, which are resulting in errors like "Invalid use of Null" etc.
What is best way to check for no rows returned, before the filter is set
actually - so I can break the procedure for such cases.
Thank in advance!
Arvi Laanemets
As I have catched cold lately, I'm in no form to find a solution myself.
I use a couple of controls on form to determine the filter condition. The
filter is set by procedure.
Private Sub cmdFilter_Click()
strFilter = <StringExpression>
Me.Filter = strFilter
Me.FilterOn = True
End Sub
It all works OK, but when there is set a filter condition, for which no
records are returned, then I encounter problems with calculated fields on
form, which are resulting in errors like "Invalid use of Null" etc.
What is best way to check for no rows returned, before the filter is set
actually - so I can break the procedure for such cases.
Thank in advance!
Arvi Laanemets