Results 1 to 4 of 4
  1. #1
    accesshelpme is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2012
    Posts
    18

    open form new record

    I have a form that opens and when it opens it automatically goes to a new record, rather that showing the first record. 2 of the text boxes on this form have enabled set to no and are automatically filled when the form loads. However, this means if someone goes to this form and then exits out immediately, a record is saved that only has the information that was automatically filled when the form opened.
    I want to have it so it doesn't save unless someone clicks the save button, rather than automatically, is this possible



    thanks

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    Quote Originally Posted by accesshelpme View Post
    I have a form that opens and when it opens it automatically goes to a new record, rather that showing the first record. 2 of the text boxes on this form have enabled set to no and are automatically filled when the form loads. However, this means if someone goes to this form and then exits out immediately, a record is saved that only has the information that was automatically filled when the form opened.
    I want to have it so it doesn't save unless someone clicks the save button, rather than automatically, is this possible
    thanks
    IMO rather than trying to stop access from behaving as it was designed to do, it would be better to do some validation in the form's Before Update event of the data entered. If the validation fails, the data update can be cancelled.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    accesshelpme is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2012
    Posts
    18
    can you giev me and exmaple of what u mean by that?

  4. #4
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    Take a look at the attached db
    Attached Files Attached Files
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

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

Similar Threads

  1. Replies: 2
    Last Post: 05-11-2012, 11:52 AM
  2. Replies: 1
    Last Post: 05-03-2012, 02:25 PM
  3. How to have a Form open to Last Record
    By djclntn in forum Forms
    Replies: 5
    Last Post: 04-23-2012, 03:48 AM
  4. new record open form
    By tubar in forum Forms
    Replies: 5
    Last Post: 03-31-2011, 12:33 PM
  5. If record does not exist, open add new record form
    By RobertIngles in forum Programming
    Replies: 2
    Last Post: 02-01-2011, 08:47 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