JackDanIce
Well-known Member
- Joined
- Feb 3, 2010
- Messages
- 9,922
- Office Version
- 365
- Platform
- Windows
Hi,
I have the following set up but unsure how to create a suitable interface for the user
I have data tables, loaded as queries into PQ and subsequent steps to filter and return results.
Main Sheet
The user enters a string into A1
In B1 a dropdown returns all partial matches to A1 (against a reference list) and the user selects a value from the dropdown
The query then uses the value in B1 to return a table of results into an Output sheet (set to overwrite all previous results in the table)
Is there a way to trigger the query to refresh, without using Data->Queries & Connections -> Refresh All and without using a Worksheet_Change event?
Separately what step can I add to my query to cope with null results (there's a single case where this occurs for any searched string in the dropdown list in B1)
e.g. If the query returns no results, how can I clear the output table or return an empty table?
TIA,
Jack
I have the following set up but unsure how to create a suitable interface for the user
I have data tables, loaded as queries into PQ and subsequent steps to filter and return results.
Main Sheet
The user enters a string into A1
In B1 a dropdown returns all partial matches to A1 (against a reference list) and the user selects a value from the dropdown
The query then uses the value in B1 to return a table of results into an Output sheet (set to overwrite all previous results in the table)
Is there a way to trigger the query to refresh, without using Data->Queries & Connections -> Refresh All and without using a Worksheet_Change event?
Separately what step can I add to my query to cope with null results (there's a single case where this occurs for any searched string in the dropdown list in B1)
e.g. If the query returns no results, how can I clear the output table or return an empty table?
TIA,
Jack