Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Expert 8    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Duplicate Values
Edward Wright 
     
3 years ago
I have a table that has duplicate records.  I've created another table from the first table but with no duplicate records.  I want to add the values of a field and then update the first table with the total of the duplicates values.
I have renters.  One renter made two payments in the same month.  I want to add the total rent paid from the two payments and update the table without duplicates.  How can I do this?
Richard Rost  @Reply  
          
3 years ago
Show me what your tables look like.
Edward Wright OP  @Reply  
     
3 years ago
The first table is named tblCNBTrans.  It is like a check register.  I enter transactions from the bank.  These include date, vendor, category, deposit and charge.  This includes rent payments and expenses against the rental property.  The second table is for rent payments.  I append all records from tblCNBTrans into tblPaid that are category Rent Payment for a selected date range.  This table is named tblPaid.  This table has date, VendorId, Rent and Deposit.  If a renter makes two payments per month, then there are duplicate payments in the tblPaid for one renter.  In my current case, I have three renters with two payments.  My next table is tblNewMonth.  At the beginning of the month, I load this table with all renters and rent due for each renter.  Now my problem arises.  I update the rent paid by each renter from the tblPaid table into the tblNewMonth.  The problem is that as each record from the tblPaid table updates, it overwrites the value in the tblNewMonth.  So the first payment is updated and then the second record overwrites the first record.  So at the end of the update, I only have the rent for the last record, not the total of the two records for the three renters that have two payments for that month.  I need to be able to total all payments for each renter before I update tblNewMont.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Expert 8.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/30/2026 10:47:15 AM. PLT: 1s