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
wiaManager = new WiaClass(); // create COM instance of WIA manager
Custom indexing on sub folders
VS 2005 vs 2003 - Backwards Compatible ?
SUser_Name function in sql server
IIF query using Like *
Add the name of the Access database in a new column
before update trigger to prevent a field edit
Access Inserting report headers
Reversing a cross tab using ado
Running low on System Resources