0

我正在尝试从 ALM 中提取数据并将其保存在 Excel 工作表中。我正在 ALM 的工作流中编写代码。当我写下面的单曲并试图保存时,它抛出了错误:

将 cn 调暗为 ADODB.Connection

在编写此代码之前,我们是否必须提供任何参考资料?如果有怎么给参考?

4

1 回答 1

0

it's VBScript, not Visual Basic.

Do not give the type when declaring variables :

write

  Dim cn

instead of

  Dim cn as Whatever

Also, if you want to run queries on ALM database from workflow scripts, you can use TDConnection.Command, if your administrator did not restrict its use.

于 2014-04-14T08:49:10.563 回答