Hi,
I created a large database where I record information specific to each customer. Each table gives me a list of products, general information or others that I can retrieve easily for each customer. For example, my tables are as follows:
Table1:
Customer ID
Product Manufactured
etc..
Table2:
Customer ID
Product Copyrighted
etc..
Table3:
Customer ID
Company description
etc..
Etc…
I am trying to create a query that will allow me to create a list of all the Customer ID that would offer a specific occurrence of my search word. For example if I am looking for the word ‘widget’ in Table1. Product Manufactured , in Table2. Product Copyrighted , etc.. I would like to get a list of all the Customer ID that offer ‘Widget’.
Currently I search each table, one by one, and when I find a match, I add the Customer ID to another table. When I finish to read all the tables, I open the result table and remove all CustomerID double, sort by Customer ID and retrieve the name, address etc for each Customer ID. This works but it take a long time.
I suppose that there is a better and faster way to do this.
Does somebody could direct me to a better way?
Thanks in advance.
Louis
I created a large database where I record information specific to each customer. Each table gives me a list of products, general information or others that I can retrieve easily for each customer. For example, my tables are as follows:
Table1:
Customer ID
Product Manufactured
etc..
Table2:
Customer ID
Product Copyrighted
etc..
Table3:
Customer ID
Company description
etc..
Etc…
I am trying to create a query that will allow me to create a list of all the Customer ID that would offer a specific occurrence of my search word. For example if I am looking for the word ‘widget’ in Table1. Product Manufactured , in Table2. Product Copyrighted , etc.. I would like to get a list of all the Customer ID that offer ‘Widget’.
Currently I search each table, one by one, and when I find a match, I add the Customer ID to another table. When I finish to read all the tables, I open the result table and remove all CustomerID double, sort by Customer ID and retrieve the name, address etc for each Customer ID. This works but it take a long time.
I suppose that there is a better and faster way to do this.
Does somebody could direct me to a better way?
Thanks in advance.
Louis