disp[layinf records on a form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

is it possible to display the nth record and the nth+1 record on the same form
then when u press 'say' next reocrd u skip 2 records
and display the nth+2 and the n+3 recordes on the same output

etc
ie, i want to display to sets of records at a time for the nth and nth+1
records
 
Hi,

Possible solution:
Have a form that displays just one record in the detail, and add control
to display what may come from one record in the form footer.

In the onCurrentEvent, "push" the values of the next record in the
controls you added in the form footer.

You can move to the next record with something like:

' in the OnCurrentEvent Handler subroutine
Me.RecordsetClone.Bookmark= Me.Bookmark ' synch the position of the
clone to the position form the form
Me.RecordsetClone.MoveNext
Me.FooterControl1 = Me.RecordsetClone.Fields("FirstField")
...
Me.FooterControlN = Me.RecordsetClone.Fields("NthField")



Hoping it may help,
Vanderghast, Access MVP
 

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

Back
Top