Results 1 to 3 of 3
  1. #1
    Phil2951 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2014
    Posts
    2

    Form in Add Mode

    I'm new to Access 2010 and have some knowledge of Access 2007. I'm using Access and a front end to a SQL database. I have created a form and try to open it in Add mode. Every time I open the from and populate a operator name, data in the table populates the form. I can still enter new data, but I should open in Add mode with out any data. Any help is greatly appreciated.
    Thanks............Phil2951

  2. #2
    John_G is offline VIP
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    Hi -

    Set the Data Entry property of the form to Yes. By doing that the form will always open to a new record.

    John

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Quote Originally Posted by Phil2951 View Post

    ...Every time I open the from and populate a operator name, data in the table populates the form...
    This behavior has to be something that you or someone else (if you didn't originally design the app) has added to the Form; this is not a default behavior, it sounds like it's a 'search' Form. Does it open with all Controls empty prior to entering the operator name?
    Quote Originally Posted by Phil2951 View Post

    ...should open in Add mode with out any data
    John's suggestion will open on a New Record, but you will not be able to view or edit existing Records. Is this acceptable for your purpose? If you need to be able to handle existing Records, as well as New Records, leave the Data Entry Property to No and use code like this:

    Code:
    Private Sub Form_Load()
      DoCmd.GoToRecord , , acNewRec
    End Sub

    Are you, per chance, opening this Form from another Form?

    A little more information on your actual scenario would probably help us help you with this thing!

    Linq ;0)>

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

Similar Threads

  1. Replies: 4
    Last Post: 11-26-2013, 10:47 AM
  2. Replies: 21
    Last Post: 08-05-2013, 06:23 AM
  3. Replies: 1
    Last Post: 12-04-2011, 09:11 PM
  4. Replies: 2
    Last Post: 09-01-2011, 10:48 PM
  5. Replies: 4
    Last Post: 01-14-2011, 10:37 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