Micro Focus QTP (UFT) Forums
Identify and Count the columns in the datatable - 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: Identify and Count the columns in the datatable (/Thread-Identify-and-Count-the-columns-in-the-datatable)



Identify and Count the columns in the datatable - Bhuvana - 12-20-2019

Hi

My problem is - I have several columns in the data-table beginning with Product_ID, like Product_ID2, Product_ID3, Product_ID4, etc. and it can be upto Product_IDn
In that case, I want to count the total no. of occurrences of Product_ID, and capture the value of 'n'
Kindly let me know how to do it?

Thanks
Bhuvaneshwari Dharmaraj