Ok here is the problem... I am using a part (part as in a product we have) as a variable. The part is as follows:
L 3" x 5" x 3/8"
It is a piece of steel.
I used the following syntax:
Set rst = dbs.OpenRecordset("SELECT WtPerIn from MiscSteelWeights Where MiscSteelWeights.MiscSteel = """ & GSAPart & """"
This Syntax works with other variables as text but with this variable having quotes within itself it is generating this error.
Run-time error '3075':
Syntax error (missing operator) in query expression 'MiscSteelWeights.MiscSteel = "L 3"x 5" x 3/8""'.
Is there a way to get around this or am i going to have to remove the inch symbol from all these parts.
Any Help Would be Appreciated
Bill
L 3" x 5" x 3/8"
It is a piece of steel.
I used the following syntax:
Set rst = dbs.OpenRecordset("SELECT WtPerIn from MiscSteelWeights Where MiscSteelWeights.MiscSteel = """ & GSAPart & """"
This Syntax works with other variables as text but with this variable having quotes within itself it is generating this error.
Run-time error '3075':
Syntax error (missing operator) in query expression 'MiscSteelWeights.MiscSteel = "L 3"x 5" x 3/8""'.
Is there a way to get around this or am i going to have to remove the inch symbol from all these parts.
Any Help Would be Appreciated
Bill