E
eric
I am trying to find the occurances of double quotation
marks in a string field description where the marks are
used to describe inches. There is a syntax error with
the Instr() function.
strQuote = Chr$(34)
str = "SELECT [PO Parts].Flag FROM [PO Parts] " & _
"WHERE (((InStr(0,[PO Parts].[Description], """ &
strQuote & """))>0));"
Set rst = db.OpenRecordset(str, dbOpenSnapshot)
marks in a string field description where the marks are
used to describe inches. There is a syntax error with
the Instr() function.
strQuote = Chr$(34)
str = "SELECT [PO Parts].Flag FROM [PO Parts] " & _
"WHERE (((InStr(0,[PO Parts].[Description], """ &
strQuote & """))>0));"
Set rst = db.OpenRecordset(str, dbOpenSnapshot)