I have used Union query to get all
option in combo box in msaccess 2010.
The All
option is now showing in my combobox successfully. But while I am selecting All
option in combobox, it's not selecting all categories at once instead showing blank form.
Can anyone please what's wrong with the below syntax?
SELECT tbl_XXXXXX.ID, tbl_XXXXXX.YYYYYY FROM tbl_XXXXXX
UNION select 0 as AllChoice, '(All)' as Bogus from tbl_XXXXXXX
My form property row source
SELECT * FROM tbl_AAA WHERE YYYYY = 'ZZZZZ';
Thanks in advance
id = 0
case. Please edit your question and add the form record source. – Andre