I'm trying to use a variable in a text string for the RecordSet.Find command.
My script looks something like this.
strKeyDiscerningCharacteristicData=objMDRDataDictionary.item("Compound")strSearchCriteria = "Compound = '"& strKeyDiscerningCharacteristicData & "'""
objRecordSet.Find strSearchCriteria
When I run this, I get the error 'Microsoft VBScript compilation error:
Unterminated string constant'. What's the correct way to set up the string
for the search criteria?
TIA
Ernie