Results 1 to 4 of 4
  1. #1
    Juan4412 is offline Competent Performer
    Windows 7 64bit Access 2016
    Join Date
    Dec 2010
    Posts
    209

    Adding New Records To Table

    I have a table that currently has data in it. I want to use a form to all users to add new records to the table. I do not want the user to be able to edit existing data, only add new data.



    Is the best bet for this to manually create labels/textboxes and use vba to map the textboxes to variables and use an Insert statement in VBA to add the newly input user data?

    Or how should I achieve this?

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    Set Data Entry for the form to Yes.
    To be on the safe side, set Allow Deletions/Edits to False.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    Juan4412 is offline Competent Performer
    Windows 7 64bit Access 2016
    Join Date
    Dec 2010
    Posts
    209
    Quote Originally Posted by Welshgasman View Post
    Set Data Entry for the form to Yes.
    To be on the safe side, set Allow Deletions/Edits to False.

    Click the table then do form wizard and let it set things up that way?

    If I remove record navigation will it always show an "empty" fields so data entry only? (not data already in the table)

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    Try it.
    I have never used Data Entry = Yes, so again, you would need to try out. As you get a new record each time, not much call for navigation I would have thought?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

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

Similar Threads

  1. Adding Single Records From Another Table
    By DMT Dave in forum Access
    Replies: 13
    Last Post: 03-01-2020, 10:24 AM
  2. Replies: 4
    Last Post: 01-16-2019, 03:38 AM
  3. Replies: 2
    Last Post: 07-17-2018, 06:26 PM
  4. Adding Records To a Table
    By KBNETGUY in forum Programming
    Replies: 6
    Last Post: 04-09-2018, 01:00 PM
  5. Replies: 3
    Last Post: 08-20-2015, 09:49 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