Results 1 to 5 of 5
  1. #1
    silkyyy is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2012
    Posts
    5

    How to create subrecords?

    Hi I would like to have 2 tables, 1 containing all data entry ( which I currently have ) 2nd table showing past and present history on table 2 of the original most updated record I have in table 1.

    Purpose ; to avoid duplicate data entry in table 1, just have specific information on table 2, and ALL information on table 1.



    Any ideas?

    I have 1 form connecting to the main table, second table has a relationship with the first table through PK...but I am stuck from here.

    Thanks, any help is appreciated.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,847
    What's the difference in these 2 tables?

    Often you have something like:

    -a table of verified/validated pure gold data , the company uses this for Production, and
    - a table of questionable data, not yet validated, not yet checked against our Production data


    The Production table will have primary keys to ensure unique records. No duplicates in Production data.

    Where do your tables fit in this scenario?
    What specific questions do you have ?

  3. #3
    silkyyy is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2012
    Posts
    5
    orange thanks for the reply.

    My set up is like this : table 1 all data with executives name address phone etc...30 fields approx ( with the most updated conference location and date )

    table 2 - i would like to have all the date changes the executive ever made to the same location ( so for example table 1 is - Conference location : LA Date : 6/1/2012 where table 2, gives me a history of reschedules for LA he ever did, from 4/30/2012 to 5/1/2012 5/27/2012 to latest date 6/1/2012

    So the latest date is original record -

    subrecords with past dates is in table 2.

    Where do I make these updates in the table or form+subform ( subform I dont have yet ) only have a form connected to the main table.



    Is it something in relationships I have to change?

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,847
    What do your tables represent in business terms eg Customer, LocationChanges??, Products, Orders, Hobbies....

    You should do a little research on Normalization, and Entity Relationship Diagramming. These will help you with your data base tables and relationships.

    see the first few topics at http://www.rogersaccesslibrary.com/forum/topic238.html

    Also, read the article here on Database principles - it is attached to the post
    http://forums.aspfree.com/microsoft-...es-208217.html


    Good luck

  5. #5
    silkyyy is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2012
    Posts
    5
    orange thanks for your reply, i managed to establish a relationship how I wanted it. For example when I am typing a record in table 1, I get the ID pulldown PK, where I can type subrecords there. When I refresh I see all the records I typed in Table2 for that record 1 in my original table. However in Table1 when I am typing in new record for example record 2 and want to pulldown again to write my subrecords in to reflect Table2, I get this error " This expression is typed incorrectly or it is too complex to be evaluated " #Name?

    Can you try this and see, for example type in a new city and the identifier PK pull down will appear
    Attached Thumbnails Attached Thumbnails screen1.png   screen2.png   screen3.jpg  

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

Similar Threads

  1. Can I create this...?
    By djclntn in forum Queries
    Replies: 15
    Last Post: 01-16-2012, 06:01 PM
  2. How best to create this..
    By Mantaii in forum Database Design
    Replies: 12
    Last Post: 11-04-2011, 09:32 AM
  3. Create a look up field
    By macattack03 in forum Database Design
    Replies: 6
    Last Post: 05-09-2011, 04:49 AM
  4. help me create relationship
    By Candy in forum Access
    Replies: 7
    Last Post: 05-29-2010, 07:43 PM
  5. Need to create a new db
    By ori in forum Access
    Replies: 5
    Last Post: 05-26-2009, 05:24 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