Results 1 to 10 of 10
  1. #1
    Cedarguy is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    37

    Repetition of data

    Hello,



    I have a one to many relationship between 2 tables
    All's well except the entire record on the many side repeats (as expected)
    I am looking for suggestions to circumvent this problem.

    Thank you

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,593
    Can you explain with a little more detail what you mean by:
    the entire record on the many side repeats (as expected)
    Is this happening in a query?

  3. #3
    Cedarguy is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    37
    Thank for your attention Robeen.
    The one side is an enrollment; the many side is student.
    A family's first enrollment creates a student(s) record(s) on the student table.
    Subsequent enrollments (typical, as family renews) creates additional student records for the same student (with the new enrollment number); everything's the same on these records except for the enrollment number.
    I'm beginning to realize that the relationship is faulty but not sure how to correct this,
    Regards,

  4. #4
    Cedarguy is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    37
    Thank for your attention Robeen.
    The one side is an enrollment; the many side is student.
    A family's first enrollment creates a student(s) record(s) on the student table.
    Subsequent enrollments (typical, as family renews) creates additional student records for the same student (with the new enrollment number); everything's the same on these records except for the enrollment number.
    I'm beginning to realize that the relationship is faulty but not sure how to correct this,
    Regards,

  5. #5
    Cedarguy is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    37
    Correction to my earlier statement "everything's the same on these records except for the enrollment number".
    In addition to the enrollment number, its has a new student number. My expectation was that it would have the same student number.
    Regards,

  6. #6
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,593
    Is this happening in a Form?

  7. #7
    Cedarguy is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    37
    Yes; when I enter a new enrollment (via a FORM), the student table that appears below it (since they're related) assigns the next autonumber to student ID which cannot be changed.
    Regards,

  8. #8
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,593
    Can you give us an example of the data? A screenshot might work.

  9. #9
    Cedarguy is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    37
    Please see attached. The 179 you see in the ID on the student form is auto assigned and cannot be changed. It would be desirable to assign the ID of an existing student, if possible.
    Regards,
    Attached Files Attached Files

  10. #10
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,593
    Could you possibly post a copy of your database here for us to look at?
    You can take out sensitive data - and just strip the db down to bare essentials and a few records for us to look at to see the problem.
    On what fields in the two tables have you made the relationship between the two tables?

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

Similar Threads

  1. Replies: 5
    Last Post: 08-12-2013, 12:53 AM
  2. Replies: 5
    Last Post: 05-14-2012, 02:01 PM
  3. Replies: 7
    Last Post: 04-22-2012, 02:28 PM
  4. Replies: 14
    Last Post: 01-10-2012, 03:12 PM
  5. Replies: 1
    Last Post: 12-21-2011, 02:11 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