V
vehement
The correct way to pass a variable is like this:
"WHERE (`ORDER PROJECTIONS`.LB4= ' " & Var & " ')"
Notice the double qoutes nested within the single qoutes. VB think
your ending the query string otherwise. Thanks again Eric.
This is a good site for writing queries in Office VBA
http://www.fontstuff.com/access/acctut15.ht
"WHERE (`ORDER PROJECTIONS`.LB4= ' " & Var & " ')"
Notice the double qoutes nested within the single qoutes. VB think
your ending the query string otherwise. Thanks again Eric.
This is a good site for writing queries in Office VBA
http://www.fontstuff.com/access/acctut15.ht