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
LDAP Password Unlock/ Reset Error
Using File Dialog to select directory
Can SQL query using multiple LIKE joins be improved
How to Create Field with Autonumber?
VS 2008: "The designer cannot process the code at line...."
IE7 browser issue with JS fancybox
VBA error 3057 & 3075 - Refresh References question
what does 554 message refused mean?
Replacing old windows 2000 DC server with WIndows 2008 R2
Running Total for fiscal year