G
Guest
It worked (from examples) to created linked combo boxes from an access 2003
table, but when I try to do the same from a SQL Server 2000 DB table I get an
error from the SQL Statement Query window.
This code works fine from an access table ...
SELECT weaponSystem, operation
FROM dbo.summaryDB_structure
WHERE (weaponSystem = forms!frmMainMenu!cmbWeaponSystem)
ORDER BY operation
But, when this is a SQL table I get error ...
"ADO error: Line 1: Incorrect syntax near '!'. Statements(s) could not be
prepared. Deferred prepare could not be completed."
Obviously, I need to use a different syntax.
Any help would be greatly appreciated.
table, but when I try to do the same from a SQL Server 2000 DB table I get an
error from the SQL Statement Query window.
This code works fine from an access table ...
SELECT weaponSystem, operation
FROM dbo.summaryDB_structure
WHERE (weaponSystem = forms!frmMainMenu!cmbWeaponSystem)
ORDER BY operation
But, when this is a SQL table I get error ...
"ADO error: Line 1: Incorrect syntax near '!'. Statements(s) could not be
prepared. Deferred prepare could not be completed."
Obviously, I need to use a different syntax.
Any help would be greatly appreciated.