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

    Adding Records to a Table From Form Question

    Hi,

    I would like the ability to have a form linked to a table and to be able to Add Records to that table from the form.

    I want the user to have the ability to only Add - not edit or delete.

    I realize that this can be accomplished by going to the Data section of form properties and specifying only allowing additions.

    However, this causes a problem because when a user goes in to fill out the form and the clicks away from a cell and then tries to go back and edit it - they can not, which is frustrating.

    I would like to have the user input/edit all the cells on the form that they desire and then have a button that will add all those records officially to the back-end table.

    How do you accomplish this?

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    One method is to use an unbound form. You would be responsible to write the VBA code to insert (append) the data to the table; you would have to the validation, error handling, etc. Loads more work, but you have total control over what and when the data is added to the table.

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

Similar Threads

  1. Adding records to a join table using a query
    By brharrii in forum Queries
    Replies: 5
    Last Post: 04-12-2013, 11:08 AM
  2. Replies: 16
    Last Post: 02-06-2013, 09:23 AM
  3. Adding records to a table from a form
    By paulofranchico in forum Forms
    Replies: 1
    Last Post: 02-07-2012, 11:30 AM
  4. VBA code for adding records to a table
    By pwalter83 in forum Forms
    Replies: 3
    Last Post: 12-21-2011, 10:52 AM
  5. Adding records to existing table
    By Mclaren in forum Programming
    Replies: 5
    Last Post: 05-18-2011, 12:44 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
  •  
Other Forums: Microsoft Office Forums