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
create hierarchy using T-SQL!
How do I print data only from forms in Word 2007?
Why do I get "Database is invalid" Errors
Randomize distribution of images
SBS2008 losing gateway address after restart
Question regarding a dataset
Tab into subform new record does not work if prior records are disabled by Conditional Formatting
Queries with .dbf files working on 2 of 4 computers - Access 2000
1203(No network provider accepted the given network path.)
Visual Basic 6 code with auto number creation through network computers