Micro Focus QTP (UFT) Forums
Saving value in datatable to variable - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Saving value in datatable to variable (/Thread-Saving-value-in-datatable-to-variable)



Saving value in datatable to variable - anbarasu - 09-23-2009

Hi,

How can we get a value of data table to a variable

Regards,
Anbarasu


RE: Saving value in datatable to variable - Saket - 09-23-2009

You can use 'Datatable' method to get the value from datatable

Your variable = Datatable(Column,sheet)
e.g.
Code:
Dim Val1
Val1= DataTable("Value" , dtLocalSheet)



RE: Saving value in datatable to variable - anbarasu - 09-30-2009

Thanks its working