未终止的字符串常量QTP VB脚本

时间:2022-01-27 02:27:36

I have a VB Script to connect SQL and retrieve value using ADODB recordset. Question: Upon using a multi- line SQL query with JOINs, i received error message : unterminated string constant.Kindly Advise.

我有一个VB脚本来连接SQL并使用ADODB记录集检索值。问题:在使用带有JOIN的多行SQL查询时,我收到了错误消息:未终止的字符串常量.Kindly Advise。

1 个解决方案

#1


0  

If your VBScript lacks a closing punctuation mark at the end of a line. Which means it a syntax error in your script.

如果您的VBScript在一行末尾没有结束标点符号。这意味着它在您的脚本中出现语法错误。

Check the syntax of your script, particularly for closing statements

检查脚本的语法,特别是关闭语句

#1


0  

If your VBScript lacks a closing punctuation mark at the end of a line. Which means it a syntax error in your script.

如果您的VBScript在一行末尾没有结束标点符号。这意味着它在您的脚本中出现语法错误。

Check the syntax of your script, particularly for closing statements

检查脚本的语法,特别是关闭语句