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 Word 2010 as default for .doc and .docx
error saying 'External table is not in the expected format.' when trying to update database from a dataset
unlock the "local area connection' of windows xp
Change Required Error Message - Access 2007
OnToolTipNotify() not called in CView class
adprep.exe taking extremely long time
Connect to a Crosstab query in Access from Excel
DoCmd.FindNext doesn't go to next find
msxml3.dll is not able to be registered
Custom Icons on Toolbar- how to? Access 2000