G
Guest
Hello,
I have an SQL Statement that have several text boxes in the WHERE clause. Is
there a simple way of making Access ignore the text boxes that are empty and
just use the populated list boxes in the WHERE clause.
I can do this using a myriad of if statements, but there has to be a better
way.
I thought I could do this by using the NZ function and putting in * when a
text box was empty, but Access doesnt like the resulting = '*'.
Baard
I have an SQL Statement that have several text boxes in the WHERE clause. Is
there a simple way of making Access ignore the text boxes that are empty and
just use the populated list boxes in the WHERE clause.
I can do this using a myriad of if statements, but there has to be a better
way.
I thought I could do this by using the NZ function and putting in * when a
text box was empty, but Access doesnt like the resulting = '*'.
Baard