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
c# asp.net
SQL Server Report and Active X Control
SQL Rewrite this dateadd line
stopping excel flickering
How Do i repair msiexec.exe?
Access 2003 on a Win2k PC. "Your Microsoft office Access database contains a missing or broken reference to the file DAO360.dll version 5.0
Dead Motherboard, anyway to migrate printers from one XP machine to another
VB.NET: a correct size of stream buffer
VB.net WebBrowser read from Stream
SQL Query Dups