Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can you tell that the last record of a query is displayed

Status
Not open for further replies.

harleyhead

IS-IT--Management
Apr 19, 2006
17
US
In order to enable and disabled command buttons correctly, I need to be able to know that the last record or the first record is being displayed. That is, when the the last record is displayed, I want to disable a "Next" command button.
 
You need to use a recordsetclone. You can then compare the recordcount property to the absolute position propery to tell where you are in the recordset.

Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top