Microsoft
Software
Hardware
Network
Question : Problem with SQL syntax
I want to create a combo box with the source from a table but I want to insert an item at the top of the list. eg.
(None)
Item 1
Item 2
Item 3
etc.
I've done it many times in the past, but forgotten the syntax.
Thanks in advance.
Answer : Problem with SQL syntax
You would use a union query:
Select "(None)" From SomeTableName
Union
Select AField FromYourTableName
The Number and data type of the fields must match in each select statement.
Random Solutions
Need to strip string / email from message body, with Outlook XP VBA?
Asking a ComboBox about its contents
what are the prerequisites to install hyper v on a server
How do I combine these tables in SQL?
Small calendar form to pick up a date
LINQ with MS Access Database
Unable to Reserve Hibernate File
How do I match pixel size to physical size for printing?
IE 8 Flash Player Problem
Fragmented data file