Results 1 to 6 of 6
  1. #1
    user9 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Oct 2013
    Location
    US
    Posts
    43

    Data Repeating Incorrectly

    I have a continuous form that displayes data from MyTable. Sometimes the data shows up correctly, though frequently all the records display whatever information was in the first record (duplicate).

    Additionally, sometimes when I view the linked table it is sourced from the data displays duplicate even though it is correct.



    Why does this happen, both in the table and the form?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    No idea. If you want to provide db for analysis, follow instructions at bottom of my post.
    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.

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Quote Originally Posted by user9 View Post

    ...sometimes when I view the linked table it is sourced from the data displays duplicate even though it is correct...
    I have absolutely no idea what you're saying, here!

    As to

    Quote Originally Posted by user9 View Post

    ...all the records display whatever information was in the first record...
    This is normal behavior when the Control in question is Unbound. An Unbound Control, one not Bound to a Field in the underlying Table or Query, will display, in all Records, the Value of the Control in the Current Record; when the Form first opens, the Current Record is the first Record, which is why you're seeing this.

    Linq ;0)>

  4. #4
    user9 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Oct 2013
    Location
    US
    Posts
    43
    Quote Originally Posted by Missinglinq View Post
    I have absolutely no idea what you're saying, here!

    As to



    This is normal behavior when the Control in question is Unbound. An Unbound Control, one not Bound to a Field in the underlying Table or Query, will display, in all Records, the Value of the Control in the Current Record; when the Form first opens, the Current Record is the first Record, which is why you're seeing this.

    Linq ;0)>
    Thanks, Missinglinq. What I mean is, I have a continuous form where all fields are connected to valid fields in the Record Source. However, both the linked table (Record Source) and form display all records with the contents of the first record.

    For example: 3 records - $ balances of $100, $200, $300, but in the table and form they show as $100, $100, $100.

  5. #5
    user9 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Oct 2013
    Location
    US
    Posts
    43
    FYI june and Missinglinq, I figured it out. The linked table was set to a specific primary key. I tried re-importing the table with no primary key and the issue was resolved. For some reason, Access copied the first record into all other records for that primary key.

    Thank you for the suggestions!

  6. #6
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Glad you got it figured out!

    Good luck with your project!

    Linq ;0)>

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

Similar Threads

  1. Replies: 3
    Last Post: 10-31-2013, 12:25 PM
  2. Repeating same Data to the next/new Record
    By djclntn in forum Forms
    Replies: 8
    Last Post: 11-07-2012, 08:09 AM
  3. Data in subform records repeating
    By skatiekat in forum Forms
    Replies: 2
    Last Post: 11-01-2012, 12:50 PM
  4. This expression is typed incorrectly
    By Ray67 in forum Queries
    Replies: 9
    Last Post: 01-03-2012, 12:53 PM
  5. Repeating data in a field for a new record
    By NOTLguy in forum Forms
    Replies: 3
    Last Post: 10-29-2010, 07:27 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