Results 1 to 2 of 2
  1. #1
    schmidt1962 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2015
    Posts
    1

    Macro to append data


    I am a newbie at access programming. I have a form that uses a subform to display data from 4 linked tables. One table (let's call it site) is linked to a media/chemicals table in a one site to many media/chemicals. The media chemicals table is then linked via a many to one to two separate tables,1) description, and 2) chemical name.

    what I would like in the form is for users to have the ability to add new records, doing so via drop down boxes. If they want to add new media/chemicals associated with a particular site, they can do so via a form. Is this possible, or does it need to be done using a userform and macro? Thank you!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    That's what forms are for - as a user interface for data entry/edit.

    Usually, a form can do data entry/edit for only 1 table.

    Options:

    1. single form bound to the table that has records that associate site with chemicals (this is a 'junction' table) - select site and chemical from comboboxes to create a single record

    2. form/subform - main form bound to site table, subform bound to the junction table, combobox to select chemical

    3. form/subform - main form bound to chemical table, subform bound to the junction table, combobox to select site
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 2
    Last Post: 09-22-2014, 07:29 AM
  2. Update & Append queries - Macro question
    By noaccessguru in forum Macros
    Replies: 12
    Last Post: 08-29-2013, 06:00 AM
  3. append data
    By slimjen in forum Programming
    Replies: 5
    Last Post: 04-26-2013, 11:58 AM
  4. Replies: 1
    Last Post: 01-16-2013, 10:58 AM
  5. Append Checkbox Data
    By jgelpi16 in forum Programming
    Replies: 3
    Last Post: 06-29-2010, 04:58 PM

Tags for this Thread

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