Micro Focus QTP (UFT) Forums
Searching in a 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: Searching in a DataTable (/Thread-Searching-in-a-DataTable)



Searching in a DataTable - paulv - 09-08-2008

For entering test-data in a 5250 TerminalEmulator screen, I'm reading data from a dataTable ... with about 800 records per customer-code !

Is there a way to filter a DataTable narrowing down the result to e.g. all order-records of order-type 'xx' for one specific customer ?
Or is there a really fast search-option instead of reading the records one-by-one until you find the one that you're looking for ?


RE: Searching in a DataTable - Ankur - 09-08-2008

nice question...have you tried exploring excel automation model? I am sure you will get something like "filter by" and "sort by" kind of thing through which you can reach your records faster.