Recordset navigation with command buttons

M

Mike

Hello,

I have an unbound form which I'm using to display data from a
RecordSet. Is there a way to use a command button to navigate through
the RecordSet records? I'd like to add a 'Next' button, but can't
figure out the code I need to control the navigation.

Thanks,
Mike
 
S

strive4peace

Hi Mike,

firstly, why are you using an unbound form? This greatly
complicates things...

What is the SQL for the recordset you are displaying from?
You could use the Bookmark property to find the record in
your code using a recordset object, then the MoveNext method
to move the record, then write the fields for the record
your move to to your form... but this is really the hard way
to go about it!


Warm Regards,
Crystal
Microsoft Access MVP 2006

*
Have an awesome day ;)

remote programming and training
strive4peace2006 at yahoo.com

*
 

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