phmckeever
New member
- Local time
- Yesterday, 23:42
- Joined
- Jun 1, 2012
- Messages
- 8
Hello,
I am setting up a query in Design View in Access 2007. In 2003 when I use the IN operator, enter the list of items, and move to the next column, the quotes marks were automatically added to the list of items. Here is a sample:
In (“039H4929”,”039H5239”,”039H5240”,”041C00D6”,”1756WC1”,”
200NF51”,”2GYSMC1”,”2UX61501N5”,”2UX63200F2”,”345U2”,”
3802A78866”,”415A00321”,”6J18FXK19062”,”6J26KQV1A02R”,”
709F0A4F”,”7ZQ74B1”,”834F25D5”,”9FR1N21”,”9ZJN581”,”
D006DDM2K445”,”D015CQX3K046”,”D235JZG1D598”,”
D240JZG2F871”,”D242JZG2H663”,”D245JZG1D427”,”D245JZG1D433”)
(Above, I added hard returns for easy viewing)
These quote marks are not being added using 2007. Even if I set the criteria list up with quote marks in word or excel and copy it into the column on the criteria line in Access 2007 design view, I still get an error. The only way I have been able to get it to work is to manually enter the quote marks on the criteria line in the Design View. These lists are going to grow, and it is counter productive to have to manully enter these marks.
Can someone help!
phmckeever
I am setting up a query in Design View in Access 2007. In 2003 when I use the IN operator, enter the list of items, and move to the next column, the quotes marks were automatically added to the list of items. Here is a sample:
In (“039H4929”,”039H5239”,”039H5240”,”041C00D6”,”1756WC1”,”
200NF51”,”2GYSMC1”,”2UX61501N5”,”2UX63200F2”,”345U2”,”
3802A78866”,”415A00321”,”6J18FXK19062”,”6J26KQV1A02R”,”
709F0A4F”,”7ZQ74B1”,”834F25D5”,”9FR1N21”,”9ZJN581”,”
D006DDM2K445”,”D015CQX3K046”,”D235JZG1D598”,”
D240JZG2F871”,”D242JZG2H663”,”D245JZG1D427”,”D245JZG1D433”)
(Above, I added hard returns for easy viewing)
These quote marks are not being added using 2007. Even if I set the criteria list up with quote marks in word or excel and copy it into the column on the criteria line in Access 2007 design view, I still get an error. The only way I have been able to get it to work is to manually enter the quote marks on the criteria line in the Design View. These lists are going to grow, and it is counter productive to have to manully enter these marks.
Can someone help!
phmckeever
