Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Incorrect Number of Rows returned from Local Datatable
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
I am trying to loop just through the rows that have data in the local data table but the test keeps trying to run through all 65535 rows in the table.

The code to grab the number:
Code:
Dim i, numRows, dtDepL, dtDepG
Set oLocalDT = DataTable.LocalSheet
numRows = oLocalDT.GetRowCount

which sets the numRows variable to the 65535 instead of the three that should be set since the data table looks like:
[Image: QTProImage.jpg]

Any Ideas? Is this a bug in the system?

(By the way, when I set the action run properties to run all rows it does the same thing. Tries to run through all 64k rows.)

Thanks,

Don
Reply


Messages In This Thread
Incorrect Number of Rows returned from Local Datatable - by VREntropy - 06-12-2009, 11:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Multiple rows of test data Bhuvana 0 1,174 01-03-2020, 09:30 PM
Last Post: Bhuvana
  Local System Monitor kbhargava505 0 2,425 10-16-2015, 12:52 PM
Last Post: kbhargava505
  Adding data into rows that add dynamically with setcelldata azar81 4 5,665 04-13-2015, 05:24 PM
Last Post: vidya2k2
  Excel operation - to find usedrange of rows & col pooja 1 9,389 02-19-2015, 04:06 AM
Last Post: supputuri
  Retrieve row number based on value in DataTable marfa 6 29,994 07-31-2014, 08:36 PM
Last Post: dharshinishankari@gmail.com

Forum Jump:


Users browsing this thread: 1 Guest(s)