Hello all.
I am really stuck in a case which I think is easy for "fresh" eyes to se what I am doing wrong.
I have a simple (!) opening of a table with the folowing statment:
rsCable.Open "SELECT * FROM [Cable] WHERE [Cable!BundleID] = " & midBundle
The error message (in norweigian) can be translated to something like:
Wrong use of ".", "!" or "0" in expression [Cable!BundleID] = Crane.0
The correct value in midBundle should be Crane.01
I have tried almost all kinds of use of ", ', () and I only get different kinds of error messages. I have used the above statement her, because this is the same type of statment used in Access Bible 2010, page 509...
I do also put the , , adOpenKeyset, adLockOptimistic after the midBundle in the statement.
So, what am I doing wrong?
Regards.
I am really stuck in a case which I think is easy for "fresh" eyes to se what I am doing wrong.
I have a simple (!) opening of a table with the folowing statment:
rsCable.Open "SELECT * FROM [Cable] WHERE [Cable!BundleID] = " & midBundle
The error message (in norweigian) can be translated to something like:
Wrong use of ".", "!" or "0" in expression [Cable!BundleID] = Crane.0
The correct value in midBundle should be Crane.01
I have tried almost all kinds of use of ", ', () and I only get different kinds of error messages. I have used the above statement her, because this is the same type of statment used in Access Bible 2010, page 509...
I do also put the , , adOpenKeyset, adLockOptimistic after the midBundle in the statement.
So, what am I doing wrong?
Regards.