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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking BOF and EOF in a form?

Status
Not open for further replies.

RageMatrix

Programmer
May 25, 2003
11
GB
Hey all,

I'm just wondering if its possible to detect in a form whether the current record is the first or last record in the query/table. I want to disable the Previous or Next Record buttons if this is the case. Perhaps there is something that Access has like a recordset object, so that you could check the BOF and EOF flags. Can this be done with Access?

Thanks :)

Jon.
 
Hi RageMatrix,

In your form code you should be able to refer to Me.Recordset and use its properties and methods just like any other recordset.

Enjoy,
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top