set an item on top

C

clara

hi all,

this is the my query:

Select "All Clients" as ClientName from Client
UNION SELECT Client.CLientName
FROM Client

I use the above query as Row Source of a Comb Box and I hope to display "All
CLients" on the top of the selection list of the comb box.

Clara

thank you so much for your help
 
J

Jerry Whittle

SELECT "All Clients" as ClientName,
"A" as SortOrder
FROM Client
UNION ALL
SELECT Client.CLientName,
"B" as SortOrder
FROM Client
ORDER BY SortOrder, ClientName ;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top