Hi,
This is probably a simple one, but I just cant seem to get it right...
I want to filter my subform data, to only show records where field A is a higher value than field B.
This way it doesn't find field B.
This way it seems to filter all record to the field B value of the first record. :banghead:
Whats the right way?
This is probably a simple one, but I just cant seem to get it right...
I want to filter my subform data, to only show records where field A is a higher value than field B.
Code:
Me.MySubform.Form.Filter = "A > B"
Me.MySubform.Form.FilterOn = True
This way it doesn't find field B.
Code:
Me.MySubform.Form.Filter = "A > " & MySubform.Form!B
Me.MySubform.Form.FilterOn = True
This way it seems to filter all record to the field B value of the first record. :banghead:
Whats the right way?