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 an OLAP data cube
Import a list of files into MSAccess
Query Field With Date/Time
Company web in Sharpoint Services Keeps asking for Username and password
"SELECT * FROM Question VB.NET
Error in MOSS Shared Serveice Job
How do I send a Report as a .pdf Document?
Error opening DTS Package in SQL 2008 SSMS
Downgrade from 64 Bit Windows 7 to 32 Bit?
Exporting Reports from Access to Excel