Question : add ALL in combobox rowsource query

i have a combobox with the following rowsource

SELECT k.ID, k.CUSTacct, k.KWHyearlyusage
FROM ElectricalDATA AS k
WHERE (((k.opportunityid)=[Forms]![OpportunityInput].[id]));

i want to add the word 'ALL' as the first selection in the combobox which would appear before the items returned from the rowsource query.  any suggestions would be appreciated

Answer : add ALL in combobox rowsource query

this is working fine for me

(select  top 10 orderid, CustomerID from orders)
union
(select top 1 0, "All Customers" from orders)
order by orderid

you either create a table, say dual, with column x: integer, and add one record : 1 in it
then use dual
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
SELECT k.ID, k.CUSTacct, k.KWHyearlyusage 
FROM ElectricalDATA AS k WHERE ((k.opportunityid)=[Forms]![OpportunityInput].[id])
UNION
SELECT top 1 '0', 'ALL', 'ALL' FROM ElectricalDATA
ORDER BY ID

or in case of dual table cretaed

SELECT k.ID, k.CUSTacct, k.KWHyearlyusage 
FROM ElectricalDATA AS k WHERE ((k.opportunityid)=[Forms]![OpportunityInput].[id])
UNION
SELECT 1 '0', 'ALL', 'ALL' FROM Dual
ORDER BY ID
Random Solutions  
 
programming4us programming4us