R
Robert H
In the query the following works fine.
SELECT cdd.[DeviceCode],cdd.[DeviceConfig] FROM cdd WHERE cdd."
"[DeviceCode]='Module 01';
But from VBA, the following returns "runtime error '7874"
Public Sub SeekCfg()
Dim strSQL As String
strSQL = "SELECT cdd.[DeviceCode],cdd.[DeviceConfig] FROM cdd WHERE
cdd." & _
"[DeviceCode]='Module 01';"
DoCmd.OpenQuery strSQL
Could some please square me away
SELECT cdd.[DeviceCode],cdd.[DeviceConfig] FROM cdd WHERE cdd."
"[DeviceCode]='Module 01';
But from VBA, the following returns "runtime error '7874"
Public Sub SeekCfg()
Dim strSQL As String
strSQL = "SELECT cdd.[DeviceCode],cdd.[DeviceConfig] FROM cdd WHERE
cdd." & _
"[DeviceCode]='Module 01';"
DoCmd.OpenQuery strSQL
Could some please square me away