onamission5
New member
- Local time
- Today, 23:48
- Joined
- Nov 12, 2008
- Messages
- 5
Hello again!
Im looking to create a user friendly query which will need to search 3 fields (Sector1, Sector2 and Sector3) and pull out resquested data.
The 3 sector fields belong to a "Company" table.
Each company can be asssigned up to 3 sectors e.g. Sector1 - IT, Sector2 - Marketing, Sector3 - Finance. The query would need to search the 3 Sectors and display the relvant data.
I can see that having the 3 sector fields makes it more complex as some records will for example contain "IT" in Sector1 whereas another record may contain "IT" in Sector2 and therfore the query will have to search all 3 Sector fields for matching data.
If I setup an SQL based query, how can I then create a form where the user can then define the search criteria which the Query will then act upon?
Thanks
Im looking to create a user friendly query which will need to search 3 fields (Sector1, Sector2 and Sector3) and pull out resquested data.
The 3 sector fields belong to a "Company" table.
Each company can be asssigned up to 3 sectors e.g. Sector1 - IT, Sector2 - Marketing, Sector3 - Finance. The query would need to search the 3 Sectors and display the relvant data.
I can see that having the 3 sector fields makes it more complex as some records will for example contain "IT" in Sector1 whereas another record may contain "IT" in Sector2 and therfore the query will have to search all 3 Sector fields for matching data.
If I setup an SQL based query, how can I then create a form where the user can then define the search criteria which the Query will then act upon?
Thanks