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
SET PATH TO and Config.FPW
Imput Mask for Date ?
BAD WEEK NUMBER IN OUTLOOK CALENDAR
Using DSum and Date Parameters in a Query Together
Excel 2007 Column Chart Width
Custom install of MSOffice 2007 via GPO
Microsoft Exchange hardware requirement
Backup Script for Oracle database backup
get datagridview to show last record instead of first.
DoWork() method not executing