I am attempting to set an Access Report Filter via my Visual basic Code.
I have some variables, arr(0), arr(2) which hold some values that are being compared
When I have the line:
Me.Filter = " 'arr(0) & ' = ' & arr(2) & ' " the Filter seems to be working appropriately
When I add the 'TransactionCode <> NULL' part and AND it with the second part, filter no longer works. What is wrong with the syntax of the following line of code?
Me.Filter = " TransactionCode <> NULL And ' & arr(0) & ' = ' & arr(2) & ' "
Thanks!
Start Free Trial