Micro Focus QTP (UFT) Forums
Changing the Column name in Global Sheet - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Changing the Column name in Global Sheet (/Thread-Changing-the-Column-name-in-Global-Sheet)



Changing the Column name in Global Sheet - ramesh.tahiliani - 01-03-2009

Hi,

How can i change the Column name in the Global/Local DataTable Sheet?
By default their names are like A,B.. but i would like to change them as name,ID...

Thanks
Ramesh


RE: Changing the Column name in Global Sheet - somisays - 01-04-2009

Hi,
Would you like to change in design time or runtime..
1)Design time
If you double click on column A then you get a pop up window then enter the required datatable column name.

2)Run time
Code:
Datatable.GlobalSheet.AddParamater "name","Value"
DataTable.LocalSheet.AddParameter "name","Value"
Hope it helps for you..


RE: Changing the Column name in Global Sheet - ramesh.tahiliani - 02-17-2009

Hi somi,
It worked Fine
Thanks You very much for the help

Thanks
Ramesh