hazz_London
Registered User.
- Local time
- Today, 07:47
- Joined
- Sep 1, 2010
- Messages
- 23
I have tried Yes and -1. Both behave in the same way as True.
The OpenDataSource works fine (no errors), but it just doesn't pick up the last line of the SQL statement.
Interestingly, when you open up the recipients list you can manually filter the entries by "SecondaryMarketSup = TRUE" (there is a drop down to manually filter). HOWEVER, when you do that it drops the "CompanyID = " & MyClientID " bit driving the recipients list, so you end up with a list where "SecondaryMarketSup = TRUE", but for every "CompanyID" in our database (as opposed to just the ones for "CompanyID = " & 47.
This makes me wonder whether the mailmerge function in Word just doesn't like filtering by 2 criteria at a time...
The OpenDataSource works fine (no errors), but it just doesn't pick up the last line of the SQL statement.
Interestingly, when you open up the recipients list you can manually filter the entries by "SecondaryMarketSup = TRUE" (there is a drop down to manually filter). HOWEVER, when you do that it drops the "CompanyID = " & MyClientID " bit driving the recipients list, so you end up with a list where "SecondaryMarketSup = TRUE", but for every "CompanyID" in our database (as opposed to just the ones for "CompanyID = " & 47.
This makes me wonder whether the mailmerge function in Word just doesn't like filtering by 2 criteria at a time...