Custom navigation buttons

J

Jack Higgs

I would like someone to point me in the right direction or give me some code
for this situation:

I have five command buttons as navigation buttons; cmdNew; cmdNext; cmdLast;
cmdPrevious; cmdFirst. These are working buttons and they change the records
fine. However there are some problems. I need some code for the forms
current event that enables and disables these nav buttons according to the
record currently showing and to get rid of that error message 'You cant go
to the specified record'. If you could help me with this I'd be very
grateful. Also, having textboxes showing the number of records and the
number of the current record would also be good.

Sorry to be a pain,

Cheers,

Jack (A-level computing student)
 
J

Jack Higgs

Jack Higgs said:
I would like someone to point me in the right direction or give me some code
for this situation:

I have five command buttons as navigation buttons; cmdNew; cmdNext; cmdLast;
cmdPrevious; cmdFirst. These are working buttons and they change the records
fine. However there are some problems. I need some code for the forms
current event that enables and disables these nav buttons according to the
record currently showing and to get rid of that error message 'You cant go
to the specified record'. If you could help me with this I'd be very
grateful. Also, having textboxes showing the number of records and the
number of the current record would also be good.

Sorry to be a pain,

Cheers,

Jack (A-level computing student)

Sorry I forgot to mention the form consists of: [BookingID], [Date],
[RegistrationNo], [NoOfTyres], [TotalCost]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top