|
$Include "sqautil.sbh"
Sub Main
Dim Result As Long
Dim ids As LONG
Dim dp_name as String
Dim dp_number as String
Dim dp_log as String
dim num as integer
'Initially Recorded: 2004-3-5 14:20:44
'Script Name: test
ids=SQADatapoolOpen ("abc",false,SQA_DP_SEQUENTIAL,true)
for num=1 to 4
Result = SQADatapoolFetch (ids)
call SQADatapoolValue (ids, 1, dp_number)
msgbox dp_number
next num
Result=SQADatapoolClose (ids)
msgbox "ok"
ids=SQADatapoolOpen ("abc",false,SQA_DP_SEQUENTIAL,true)
for num=1 to 4
Result = SQADatapoolFetch (ids)
call SQADatapoolValue (ids, 1, dp_number)
msgbox dp_number
next num
Result=SQADatapoolClose (ids)
msgbox "ok"
End Sub
我在一个脚本里面开了2次数据池为什么这样不行啊?~!
有没有什么解决的方法?~! |
|