Forum Discussion

Magnus76's avatar
Magnus76
Occasional Contributor
15 years ago

Moving between record of the DDT.ExcelDriver object

<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="Word.Document" name="ProgId" />
<meta content="Microsoft Word 12" name="Generator" />
<meta content="Microsoft Word 12" name="Originator" />





Hi



I need to know. Is it possible and if, how? I want to move between the records
of the DDT.ExcelDriver object. Example. Once I moved to the end of the Driver
object (Driver.EOF = True), I want to move back to the second last record or third last in
the object.

The only methods available is next, there is no previous or first.


Must I use a
different approach if I need more flexibility in navigating the record?


Regards


Magnus



2 Replies

  • Hi Magnus,



    TC does not have such functionality, but we have an appropriate suggestion in our DB, and your message has increased its rating.



    In the meantime, we suppose, the best variant is to read the entire data to an array object and access the needed element by its index.