Forum Discussion

Petewilson's avatar
Petewilson
Contributor
6 years ago

Iterate through a DB query

 Morning all,   A bit of background first. I have a group of projects, that was essetially the same project cloned, but ran with different SQL queries and counts via Jenkins. With nearly 14 alm...
  • Petewilson's avatar
    6 years ago

    I have solved it. A simple misuse of EOF and i needed to use IsEOF

     

    function ADODriverExampleNew(Driver);
    begin
    While Not Driver.IsEOF() do
    begin
    {Scripts}
    Driver.Next;
    end;
    end;