Results 1 to 3 of 3
  1. #1
    lockstock is offline Novice
    Windows 8 Access 2013
    Join Date
    Sep 2015
    Posts
    19

    create new record in other table

    hi,



    I need some help with vba

    When a button is clicked in a form I need to create a new record in a table, not displayed in the form, and the value of one column needs to be equal to the ID of the record shown in the current form.

    anyone who can help?

    thanks!

    ben

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    no vba needed, create an append query to add a record.

  3. #3
    lockstock is offline Novice
    Windows 8 Access 2013
    Join Date
    Sep 2015
    Posts
    19
    okey i will give it a try thanks

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

Similar Threads

  1. Create a form from table record
    By ande8698 in forum Forms
    Replies: 1
    Last Post: 04-24-2014, 09:40 AM
  2. Replies: 14
    Last Post: 12-17-2013, 02:09 PM
  3. Replies: 1
    Last Post: 11-20-2013, 10:04 AM
  4. Create one record for every field in another table
    By sailngsue in forum Programming
    Replies: 6
    Last Post: 09-27-2011, 03:57 PM
  5. Create PDF for each record in table/form
    By ChrisCMU in forum Forms
    Replies: 15
    Last Post: 07-28-2009, 01:52 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