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
How to add country flags near username on the forum topics?
MS Access Where to put the code to calculate a field using data from a record selected in a subform
windows xp privilidge problem
C# design question
Make MFC app invisible on startup (Hide main dialog)
button event not firing in repeater control
Access SQL Query Question
WSUS - Missing update icon to apply updates
Excel: Conditional formatting checking for unequal cells in portions of 2 wksts
vb.net - if string