Results 1 to 2 of 2
  1. #1
    mraxl is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Aug 2011
    Posts
    3

    Data Entry & Display

    I'm a newbie to the forum and to Access.... please forgive ignorance on my part.

    I'm trying to create a data base with, basically, two tables. One is totally individual while the other has multiple references to the first. The second has One to Many relationship.

    I have created an SQL query with both table parameters included.

    I have also created a form that includes a tabbed form exclusively for data included in the second table. No subforms are used.

    All of what has been done works fine. However, I have a couple of problems moving forward.

    Problem#1 - I want to display ALL related records from second table when the record from the first table is selected.

    As it is now, by incrementing the record selection at the bottom of the form, each individual record is displayed rather than the one master record with multiple sub-records from the second table.

    I'm getting the impression that subform(s) must be used for this purpose??? what do I need to do?

    Problem#2 - I would like to be able to enter a sub-record by pulling up the Master record (with all associated data) from the first table and be able to enter data into the second table from a blank form section.

    As it is now, I must enter duplicate info into the form that is already in the first table then enter the new data into the second table.

    If I use a combo box to select a record from the key in the first table only that field is changed.... I want all form fields from that key to change reflecting data from the associated key and have blank fields for the entry of data to the second table.



    I apologize if the above is not clear.... let me know if more detail is needed. This would be the same as having a single "Customer" and recording individual "Purchases" for that customer. Appreciate any help that can be offered... TIA

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    Problem #1 - Yes, use form/subform arrangement

    Problem #2 - Should not be duplicating data, no reason to repeat the data in second table. The related info can be retrieved by joining the tables in queries. Again, use form/subform arrangement.

    Subform probably in Datasheet or Continuous view. Enter new record at the end of the records listed.
    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: 4
    Last Post: 01-14-2016, 02:18 PM
  2. data entry
    By harry53 in forum Forms
    Replies: 1
    Last Post: 07-31-2011, 03:03 AM
  3. How to display year season from date entry
    By Allaw212 in forum Access
    Replies: 3
    Last Post: 06-01-2010, 11:11 AM
  4. data entry
    By ngeng4 in forum Forms
    Replies: 22
    Last Post: 03-18-2010, 07:12 PM
  5. Data Entry And Data Recalling
    By GeeDee in forum Access
    Replies: 0
    Last Post: 05-01-2007, 05:20 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