rubintheyid
New member
- Local time
- Today, 23:40
- Joined
- Jan 18, 2010
- Messages
- 2
Hi,
My current issue is - I have created a combo box which obtains its list from a query. This works well and my query runs when one of the list items is selected.
I have added an "ALL" to my list but i would like this to act as a wild card when selected.
Can you advise how I make it a select all when "ALL" is selected.
Details are:
form name = Investigate
Combo box = CBO_Franchise
Criteria in query is: [forms]![Investigation]![Cbo_Franchise]
Row source in combo box = SELECT Tbl_ALL_INTEC_DATA.FRN_ID FROM Tbl_ALL_INTEC_DATA UNION select "ALL" FROM Tbl_ALL_INTEC_DATA GROUP BY Tbl_ALL_INTEC_DATA.FRN_ID HAVING ((Not (Tbl_ALL_INTEC_DATA.FRN_ID) Is Null))
ORDER BY Tbl_ALL_INTEC_DATA.FRN_ID;
This results in combo list of:
ALL
EB
TW
NT
Query runs with any of EB,TW or NT selected but not with ALL. I would like all to show all results ie a wildcard.
Many thanks for any help
My current issue is - I have created a combo box which obtains its list from a query. This works well and my query runs when one of the list items is selected.
I have added an "ALL" to my list but i would like this to act as a wild card when selected.
Can you advise how I make it a select all when "ALL" is selected.
Details are:
form name = Investigate
Combo box = CBO_Franchise
Criteria in query is: [forms]![Investigation]![Cbo_Franchise]
Row source in combo box = SELECT Tbl_ALL_INTEC_DATA.FRN_ID FROM Tbl_ALL_INTEC_DATA UNION select "ALL" FROM Tbl_ALL_INTEC_DATA GROUP BY Tbl_ALL_INTEC_DATA.FRN_ID HAVING ((Not (Tbl_ALL_INTEC_DATA.FRN_ID) Is Null))
ORDER BY Tbl_ALL_INTEC_DATA.FRN_ID;
This results in combo list of:
ALL
EB
TW
NT
Query runs with any of EB,TW or NT selected but not with ALL. I would like all to show all results ie a wildcard.
Many thanks for any help