This is not working as expected.
..Click Next until the Last File is in use.
....Click Next again and it displays the Last File again. // Surely it should have be at the last File after the Last Next??
......Click Next and then it will go to the First File in the DB.
Code: Select all
procedure TfrmMain.btnNextClick(Sender: TObject);
if dm.tblFiles.EOF then
Is it me or is this the correct behavior?
It works similarly for the Prior button too.
How do I remove the need for that second click at the end?