Moving trough a report

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

Guest

Hy

I've made a coustum toolbar with buttons to move trough the report. When I
click on the Next button it runs "Me.Page = Me.Page + 1" but the report
doesn't change. When I run for example the following code:

Msgbox Me.Page
Me.Page = Me.Page + 1
Msgbox Me.Page

It first returns par example 1, then it runs the "Me.Page = Me.Page + 1"
then it returns 2. So it I think it means that the Me.Page is changed, but
the report isn't following. I also tried a thing like Me.Update or Me.Refresh
but it isn't working...

Any idea's?
Thanks
 
Ok, I finded a solution by myself. It's mayby not programmed correctly but
it's working....

SendKeys ("{F5}")
SendKeys Me.Page + 1
SendKeys ("{ENTER}")

thnxs to myself ;)
 
Back
Top