Results 1 to 8 of 8

Thread: Go to last record

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    3

    Go to last record

    Hello,

    When I open a form in Microsoft Access I want the form to go to a new record that can be filled in. How do I do that?

    Greetings.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Go to last record

    Is this an Access form or a VB form?

  3. #3
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    Re: Go to last record

    Quote Originally Posted by IwanVerrips
    Hello,

    When I open a form in Microsoft Access I want the form to go to a new record that can be filled in. How do I do that?

    Greetings.
    This would get more replies in the microsoft forum.

    I'm guessing you have the 'columner' view of the form, I dont know how to do it for the columner view but if you create a new form and use the tabular style then the new record will always be at the bottom of the form.

    Chris
    Chris

  4. #4

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    3

    Re: Go to last record

    Quote Originally Posted by Hack
    Is this an Access form or a VB form?
    It is an form in Access, but I'm going to edit the VB code.

    VB Code:
    1. Private Sub Form_Open(Cancel As Integer)
    2.  
    3. End Sub

    What must come between these?

  5. #5
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    Re: Go to last record

    This is a question about VBA(Visual Basic for Application) so hopefully a mod will move it to the VBA section where the VBA experts will read it.

    Chris
    Chris

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Go to last record

    Quote Originally Posted by IwanVerrips
    It is an form in Access, but I'm going to edit the VB code.
    Actually, you will be using VBA.

    Access VBA question moved to Office Development

  7. #7
    Frenzied Member DKenny's Avatar
    Join Date
    Sep 2005
    Location
    on the good ship oblivion..
    Posts
    1,171

    Re: Go to last record

    If you change the DataEntry Property of the form to TRUE, the form will automatically open with a blank record.
    Declan

    Don't forget to mark your Thread as resolved.
    Take a moment to rate posts that you think are helpful

  8. #8
    Member
    Join Date
    Jan 2005
    Posts
    53

    Re: Go to last record

    Private Sub Form_Load()

    DoCmd.GoToRecord , , acLast
    DoCmd.GoToRecord , , acNext
    End Sub
    Last edited by noycwild; Feb 14th, 2006 at 04:49 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width