Hi,
I'm running D5Pro and the latest MyDAC, and have a question:
I have a query that I run that returns 4 records. I can get the first one like this:
id := MyQuery1.FieldByName(FIELD_ID).AsString;
I'd like to get the data from the same field of the second row, and the third, and the fourth, etc. I can't see how to do this, can someone help?
Thanks,
Paul Becker
How to retrieve returned rows other than the first one?
Re: How to retrieve returned rows other than the first one?
In this case MyDAC behaviour doesn't change from behaviour of BDE, ADO and so on.
Please read in Delphi Help articles related to TDataset.Next and Prev methods.
Please read in Delphi Help articles related to TDataset.Next and Prev methods.