gardengal444
Registered User.
- Local time
- Today, 05:30
- Joined
- Feb 2, 2010
- Messages
- 18
I have an excel sheet with a subset of Client_IDs and ClientNames. THese are the subset customers getting Christmas cards. I have a typical database table with client info including the address info I need.
I need to ultimately create labels in Word. (Does Avery wizard install in Access or Excel? mine is only showing up in word.)
So, step 1, I created a query to gather all my pieces. Using Design View, I can only enter 9 ID numbers. Is that a Design View limit. In SQL View I could probably add all 82 ID's by hand I suppose. Is there some Access limit?
This is the SQL code so far:
SELECT t_Clients.FirstName, t_Clients.LastName, t_Clients.Client1, t_Clients.BillingAddress1, t_Clients.BillingTown, t_Clients.BillingState, t_Clients.BillingZipCode
FROM t_Clients
WHERE (((t_Clients.Client_ID)=43)) OR (((t_Clients.Client_ID)=566)) OR (((t_Clients.Client_ID)=1073)) OR (((t_Clients.Client_ID)=18)) OR (((t_Clients.Client_ID)=96)) OR (((t_Clients.Client_ID)=369)) OR (((t_Clients.Client_ID)=19)) OR (((t_Clients.Client_ID)=509)) OR (((t_Clients.Client_ID)=33));
Am I even going in the right direction? I am assuming that the Avery Wizard can access this query as a data source, but I've never actually done that before.
Should I first create a separate table of just the desired Client_IDs? and then what would I do with that to finish my query?
btw, this is Office 2003.
And I'm sure this is a very elementary exercise. I'm just in new territory so I could use some guidance to point me in the right direction.
I need to ultimately create labels in Word. (Does Avery wizard install in Access or Excel? mine is only showing up in word.)
So, step 1, I created a query to gather all my pieces. Using Design View, I can only enter 9 ID numbers. Is that a Design View limit. In SQL View I could probably add all 82 ID's by hand I suppose. Is there some Access limit?
This is the SQL code so far:
SELECT t_Clients.FirstName, t_Clients.LastName, t_Clients.Client1, t_Clients.BillingAddress1, t_Clients.BillingTown, t_Clients.BillingState, t_Clients.BillingZipCode
FROM t_Clients
WHERE (((t_Clients.Client_ID)=43)) OR (((t_Clients.Client_ID)=566)) OR (((t_Clients.Client_ID)=1073)) OR (((t_Clients.Client_ID)=18)) OR (((t_Clients.Client_ID)=96)) OR (((t_Clients.Client_ID)=369)) OR (((t_Clients.Client_ID)=19)) OR (((t_Clients.Client_ID)=509)) OR (((t_Clients.Client_ID)=33));
Am I even going in the right direction? I am assuming that the Avery Wizard can access this query as a data source, but I've never actually done that before.
Should I first create a separate table of just the desired Client_IDs? and then what would I do with that to finish my query?
btw, this is Office 2003.
And I'm sure this is a very elementary exercise. I'm just in new territory so I could use some guidance to point me in the right direction.