jake7363
Technical User
- May 31, 2006
- 56
Hi,
SQL is a bit new for me, so patience is appreciated.
I am trying to create a paramater query that searches eight fields for the same value. I want to do this by entering the data value just once, so the MS Query grid will not apply.
I have surmised that I need to create a variable from the value that is entered for the first field, then assigned to the other 7 fields as well. This is where I am getting stuck. How can I create the variable? Do I do this in SQL or in VBA and pass it to the SQL statement? Or is what I am asking too complicated an operation?
Thanks in advance,
Jake
SQL is a bit new for me, so patience is appreciated.
I am trying to create a paramater query that searches eight fields for the same value. I want to do this by entering the data value just once, so the MS Query grid will not apply.
I have surmised that I need to create a variable from the value that is entered for the first field, then assigned to the other 7 fields as well. This is where I am getting stuck. How can I create the variable? Do I do this in SQL or in VBA and pass it to the SQL statement? Or is what I am asking too complicated an operation?
Thanks in advance,
Jake