Results 1 to 2 of 2
  1. #1
    McArthurGDM is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    215

    Form Default Values

    Hi All,



    I have a form that is bound to a table. You can choose a record on the form given that you choose a specific ID that is tied to the table.

    When I open the form, I see the "first" record of the table. This is confusing for people that open up for the form because it's an EDIT RECORDS form. You should be able to choose a specific record to edit from initially blank fields.

    How do I make it so that, when you open up for the form, the fields are blank and do not show the first record in the table?

    Thanks!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Options:

    1. set DataEntry property to Yes - only new records can be entered, existing records will not display - or use VBA to open the form in add record only mode

    DoCmd.OpenForm "form name", , , , acFormAdd

    2. code in form load or open (I forget which is best) event immediately moves to new record row - this makes existing records available for navigating

    DoCmd.GoToRecord , , acNewRec
    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.

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

Similar Threads

  1. Default values in a form
    By Aleem in forum Access
    Replies: 5
    Last Post: 12-11-2013, 04:39 PM
  2. default values in a form
    By kmims44 in forum Forms
    Replies: 9
    Last Post: 06-28-2012, 12:35 PM
  3. Default Values In Form
    By ASW in forum Programming
    Replies: 2
    Last Post: 01-18-2012, 08:55 AM
  4. Default Min & Max Date Values in Form
    By alsoto in forum Forms
    Replies: 3
    Last Post: 10-03-2011, 10:54 AM
  5. Default Values in a form
    By handjor in forum Forms
    Replies: 3
    Last Post: 08-03-2011, 09:11 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