05-27-2015, 11:15 AM
Hi Team,
Im working on validating values between two Database. I'm using GetRows() method to extract the specific rows from the Recordset and the method stores it in a variant as two dimensional array.
This is how Im using that method.
The problem here is, its extracting the speacified record if the count is minimal. eg. if column count is 10 and 320 rows ,
arrobjrec & arrrsobj have 10 subitems, each subitems include [(0,0) to (9,319) ] values the complete recordset or 32 columns and 300 rows its working fine(32 subitems).
However when the column count or row count increases its not retreiving me the exact recordset.
eg: if col - 32 and row count is 350, each tiem when i execute its gives me the wrong count sometimes as 22 subitems(instead of 32 subitems) or 26 subitems. and when i watch the arrobjrec & arrrsobj values, after the 22nd subitem, <qtp_EnumPropertyTimeoutExceeded> in expression and <2s> in corresponding values .
I couldnt able to identify whats the error all about.
Can someone tell me what would be the possible mistake and solution.
Thank you
Im working on validating values between two Database. I'm using GetRows() method to extract the specific rows from the Recordset and the method stores it in a variant as two dimensional array.
This is how Im using that method.
Code:
arrobjrec = firstrecordset.GetRows(Firstrecordset_recordcount)
arrrsobj = secondrecordset.GetRows(secondrecordset_recordcount)
arrobjrec & arrrsobj have 10 subitems, each subitems include [(0,0) to (9,319) ] values the complete recordset or 32 columns and 300 rows its working fine(32 subitems).
However when the column count or row count increases its not retreiving me the exact recordset.
eg: if col - 32 and row count is 350, each tiem when i execute its gives me the wrong count sometimes as 22 subitems(instead of 32 subitems) or 26 subitems. and when i watch the arrobjrec & arrrsobj values, after the 22nd subitem, <qtp_EnumPropertyTimeoutExceeded> in expression and <2s> in corresponding values .
I couldnt able to identify whats the error all about.
Can someone tell me what would be the possible mistake and solution.
Thank you