Computer Learning Zone CLZ Access Excel Word Windows

One truth I have discovered for sure: when you believe that all things are possible and you are willing to work hard to accomplish your goals, you can achieve the next "impossible" dream. No dream is too high!

-Buzz Aldrin
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to TechHelp    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Append Tables issue
William Kennedy 
    
4 years ago
I have sixteen tables. All are the same fields names, type and number of fields in each record.  Table Named DN1T through DN16T.  I need to combine all the tables periodically into table AllT and run a series of special reports.  I want to execute the process with an action button.  I will need to delete all records from the previous AllT table before combining the tables.   Been trying to make this work all week no luck.  I must be missing something.

IDAutoNumber and Key
DateCDate/Time
PayeeNumber Tied to Combo Box (Same Combo Payee Table used for all Tables)
CategoryNumber Tied to Combo Box (Same Combo Category Table used for all Tables)
ClassNumber Tied to Combo Box (Same Combo Class Table used for all Tables)
DescriptionShort Text
DebitCurrency
CreditCurrency
AmountCalculated[Credit]-[Debit]
ValidatedYes/No
AcctShort TextDefault Value different for each Table
Kevin Robertson  @Reply  
          
4 years ago
Why do you have 16 Tables that are exactly the same?

Too Many Tables

AmountCalculated shouldn't be stored in the table See: Calculated Fields
William Kennedy OP  @Reply  
    
4 years ago
Each table is a different account controlled by a different individual without access to the other accounts.
Kevin Yip  @Reply  
     
4 years ago
Hi William, if the tables have the same autonumber primary key values, they will cause duplicates in the new table.  So the new table will need its own autonumber PKs.

FYI: SQL Server allows "row-level security," which forbids certain users to see certain rows.  That would be a more robust solution.  Consider this in case you use SQL Server in the future.
Scott Axton  @Reply  
        
4 years ago
Without knowing the structure of the rest of your database it's pretty difficult to advise you.
The issue you have now is what happens when you grow? Assuming the each table is for a sales person, what if you hire 3 more people next week?  You would have to change lots of tables, forms, reports, etc.

What happens to the accounts of the DN8T records if that individual leaves next month?

The way you describe it so far your db is definitely not normalized.  In addition to the Too Many Tables video Kevin gave you check out the Normalizing Data.

Check out the Access Security Seminar for more on properly setting up your data base so that users can only see their own data.

If you absolutely don't want to make the change you could always look at the Union Query.  You can combine the tables but this type of query is read only.
No adding or editing of records.
Richard Rost  @Reply  
          
4 years ago
Use one table with account IDs.
William Kennedy OP  @Reply  
    
4 years ago
That is what I am trying now.  Is it possible to generate a Running Balance using the Date Field rather then the ID field?

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

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:28:24 AM. PLT: 0s