How do you pass a value stored in a variable to Global Sheet ?

Questions by swanand_rk   answers by swanand_rk

Showing Answers 1 - 9 of 9 Answers

sivlvlv

  • Feb 12th, 2008
 

Hi,

Using VB script we can pass a value stored in a varaiable to global sheet.

'Declare a variable
Dim a

'Store a value 10 in one constant named 'a'   
a=10   

'The global sheet column name is Number which has one row element 10
paramvalue=Datatable.GlobalSheet.Addparameter("Number",a) 

Thanks
sivakumar
please mail me if it is useful
siva.selva1987@gmail.com

  Was this answer useful?  Yes

Hi
Sending value from a variable to the global sheet is simple. just assigned it to the datable .
Here is the code , just try it.

'Declare variable iVar
'Assigen 102 to iVar
'Assigen iVar to column "A" of datable Global sheet

dim iVar
iVar=102
set DataTable("A",dtGlobal)=iVar


Execute and see the Test Result.


Plz let me know if any problem.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions