Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > Forums > Access
Back to Access Forum    Comments List
Upload Images   Link   Email  
Table data changes
Mick Bullous 
    
12 months ago
I have set up products, supplier and catagory tables and queries and a form to show product by picking category in a combo box. Issue is that the product categories seem to keep changing themself to a different catagory number so move to a different category. It seems to be only certain products that do it but it is strange why it does it. Anyone have any ideas as to why this is happening?
Mick Bullous OP 
    
12 months ago

Sami Shamma 
             
12 months ago
Please show how you setup the relationship between the tables.
As well as the relationship in the queries
Mick Bullous OP 
    
12 months ago

Mick Bullous OP 
    
12 months ago

Adam Schwanz 
            
12 months ago
Do you have any code/macros doing anything in the background? Or can you provide more pictures? The data wouldn't just change without some kind of intervention, but that piece of the puzzle is still missing.
Richard Rost 
          
12 months ago
Is that form set up so that you can edit records in it and you've got it based on two tables? Because I'm guessing that you're editing the category on that form and you may be thinking that you're changing in what category the product is in, but you're actually changing the category table. This is why I always say that your forms should be based on only one table, and any other fields from other tables should be locked for display only. Too Many Tables
Mick Bullous OP 
    
12 months ago
here is an example of what is happening. The catagery ID changes on a product so it then shows up in a different category. In this case from category 1 to category 20
Mick Bullous OP 
    
12 months ago

Sami Shamma 
             
12 months ago
To help you understand Richard's reply, what is the form bound to? The product table or the query?
Mick Bullous OP 
    
12 months ago
The form was also set to the ProductQ so I have now changed that back to taking data from the ProductT.
Sami Shamma 
             
12 months ago
If it is bound to the query, that is your problem. Bind it to the product table.
And have the product category in a combo box.
Mick Bullous OP 
    
12 months ago
That's exactly what I now have. I originally had the ProductF bound to the ProductT but bound it to the ProductQ as I wanted to also include in the ProductF the "mark up%" and the calculated "Our Price" which is calculated in the ProductQ. I have now removed the fields for that in the ProductF but left it in the ProductQ, as may be I can set up a seperate form just showing that?
Mick Bullous OP 
    
12 months ago
I learning slowly. The tech help videos taught me how to set up this database that  I use now in my workplace/business. I have studied for hours and hours and adapted some of the things to get things to do what i want my database to do. It has been one of the best tools in my business. I would like to take this opotunity to say a BIG THANK YOU to Richard for such a great tool and way of learning. Im now hooked and hope to create an even betet database using some of the more complex tools/coding functions etc.

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

 
 
 

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 2025 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 2/15/2025 2:04:52 AM. PLT: 1s