Results 1 to 5 of 5
  1. #1
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Brisbane, Queensland, Australia
    Posts
    387
    Thanks
    0
    Thanked 1 Time in 1 Post

    GOto Last Pge when a report opens (XP)

    I'm sure this is the right code - DoCmd.GoToPage [Pages] - but where do I put it, I've tried the open and activate events but it tells me this command is not available at this time.
    How do I go to the last page?

  2. #2
    Super Moderator
    Join Date
    Jun 2002
    Location
    Mt Macedon, Victoria, Australia
    Posts
    3,993
    Thanks
    1
    Thanked 45 Times in 44 Posts

    Re: GOto Last Pge when a report opens (XP)

    According to Help, DoCmd.GoToPage applies only to forms, not to reports.
    Regards
    John



  3. #3
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Brisbane, Queensland, Australia
    Posts
    387
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: GOto Last Pge when a report opens (XP)

    OK, so does anyone know how to move the the last page of a report when it's opened?

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: GOto Last Pge when a report opens (XP)

    See the thread starting at <post:=352,265>post 352,265</post:>.

  5. #5
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Brisbane, Queensland, Australia
    Posts
    387
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: GOto Last Pge when a report opens (XP)

    Wow! something so simple and yet so difficult. mmm sendkeys,

    my mother always told me that using SendKeys would send me straight to hell.

    thanks Hans - it did the job.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •