Hello,
I'm getting an Error ( Error in From Clause ) with the following Statement:
strSQL = "SELECT * FROM [Bid Work Type SubCategory] WHERE [BidWorkTypeCategoryID]= " & strCategoryID
Set rsN1 = New ADODB.Recordset
rsN1.CursorType = adOpenKeyset
rsN1.LockType = adLockPessimistic
rsN1.Open strSQL, cnn, , , adCmdTable
I believe I have tried every conceivable way to write the SQL statement but I Keep getting this error.
Is There some special way to do this with ADO?
I'm getting an Error ( Error in From Clause ) with the following Statement:
strSQL = "SELECT * FROM [Bid Work Type SubCategory] WHERE [BidWorkTypeCategoryID]= " & strCategoryID
Set rsN1 = New ADODB.Recordset
rsN1.CursorType = adOpenKeyset
rsN1.LockType = adLockPessimistic
rsN1.Open strSQL, cnn, , , adCmdTable
I believe I have tried every conceivable way to write the SQL statement but I Keep getting this error.
Is There some special way to do this with ADO?