funwithaccess
Registered User.
- Local time
- Today, 00:55
- Joined
- Sep 5, 2013
- Messages
- 80
Hi,
I am creating a "knowledgebase" for my company. Each table will contain records with hyperlinks that point to a PDF or other file. Currently, I have 1 search field on a form that also contains 5 combo boxes and 16 hyperlink buttons.
My question is regarding the search field. I have it set up to query multiple tables using: Like "*" & [Forms]![Start Here]!
I am creating a "knowledgebase" for my company. Each table will contain records with hyperlinks that point to a PDF or other file. Currently, I have 1 search field on a form that also contains 5 combo boxes and 16 hyperlink buttons.
My question is regarding the search field. I have it set up to query multiple tables using: Like "*" & [Forms]![Start Here]!
& "*" in the corresponding queries. The search field works, however, it opens all of the queries, not just the queries with searched records. Is there a way to prevent opening queries that return no search results? A macro or VBA code?
The macro for the search field to run the queries is as follows:
Open Query
Query Name HD Manual Query
View Datasheet
Data Mode Read Only
Thank you in advance for your assistance!
Nate
The macro for the search field to run the queries is as follows:
Open Query
Query Name HD Manual Query
View Datasheet
Data Mode Read Only
Thank you in advance for your assistance!
Nate
Last edited: