Results 1 to 11 of 11
  1. #1
    Wlbyfred is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    18

    Open form on load

    Hello
    Can anyone give me some help on having a form open on load.

    I have opened form in design mode
    on event tab clicked on ... on the onload line
    selected gotorecord dbl clicked
    entered form
    form name
    new



    Then tried to save it and no save box came up,tried to run it, asked if I wanted to save said yes
    the change does not stay when I try it afterclosing database and reopening. I have done this before but has been some time....what am I doing wrong

    Thanks

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Click this ellipses (...). Choose: Macro Builder, Expression Builder, or Code Builder.

    I use only VBA so I would choose Code Builder.

    If you want a macro (which is what your posted example looks like) then choose Macro Builder.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Wlbyfred is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    18
    Quote Originally Posted by June7 View Post
    Click this ellipses (...). Choose: Macro Builder, Expression Builder, or Code Builder.

    I use only VBA so I would choose Code Builder.

    If you want a macro (which is what your posted example looks like) then choose Macro Builder.

    How to I get it to save, I can go through the dialog box but when I save nothing happens and it does not apply. Am I missing a step
    Thanks

  4. #4
    Wlbyfred is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    18
    Ok
    Now this thing is driving me crazy...I can't move to new record from form. Is it possible to upload a copy of file and have someone look at it. I must be doing something wrong I did this last year and can not replicate what I did.
    Thanks

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    Wlbyfred is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    18

    work order db


  7. #7
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    The form DataEntry property is set Yes. This means the form cannot display existing records. Why do you need code?

    I have no problem entering new record, however, the code prevents display of records just created in the session.

    Why are Manager and Location fields set up as multi-value?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  8. #8
    Wlbyfred is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    18
    Ok
    What I want to be able to do is when a manager opens this database the first thing they see is the form open and ready to use...I am fustrated because I did this last year on a db and had no problem...just cant seem to make it work...I know it has to be something simple. I am not sure I understand multi-values.
    Thanks for all your help...

  9. #9
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Regarding multi-value field review http://office.microsoft.com/en-us/ac...001233722.aspx

    I don't think multi-value is appropriate for your data. This is a property set on the field in table. Change it to No. I NEVER use multi-value field.

    Where is the db that works? Review it and apply to this db. You might have simply set project options for a default form. From the ribbon: File > Options > Current Database > select options as desired.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  10. #10
    Wlbyfred is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    18
    It was not as functional as I would have liked and made changes with out saving copies...still have a lot to learn about db management and design, although I have been watching training videos on safari online. Ok I'll ck the options. With this db I have made copies all along the way...even though its a simple and small one. The one I sent you is the one that was furthest along and I just wanted to have the form open when the db was open.
    THanks

  11. #11
    Wlbyfred is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Posts
    18
    OK
    I have to thank you...that was it! Now I can continue with what I was doing.
    Thanks for your time and patience.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Form Load Event
    By shah1419 in forum Forms
    Replies: 5
    Last Post: 01-13-2013, 12:42 PM
  2. Form Load Time
    By bmschaeffer in forum Forms
    Replies: 1
    Last Post: 10-27-2011, 10:35 AM
  3. Run macro on form load?
    By stu_C in forum Forms
    Replies: 3
    Last Post: 08-16-2011, 07:54 AM
  4. Form Load Check
    By Kapelluschsa in forum Forms
    Replies: 3
    Last Post: 07-06-2011, 07:21 AM
  5. Difference between load and open
    By Helen in forum Forms
    Replies: 2
    Last Post: 07-15-2010, 02:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums