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 
05 Order Detail Subform
Stamatios Papoutsis 
    
3 years ago
I have created the relationships between CustomerT, OrderT and OrderDetailT but still I am able to enter new records to OrderDetailF without receiving any restriction message that there are not any Related Records in the OrderT for these New records. I have checked the data many times and I can't find the reason for that. Any ideas?

Best regards,

Stamatis Papoutsis
Greece
Stamatios Papoutsis OP  @Reply  
    
3 years ago
I finally found what was the reason of my above stated problem!!! After watching 06. Order Form video, I remembered that inside OrderDetailT table the default value for OrderID field, whose type is number, was set by me to NULL instead of it's original ZERO value setting!!! As Richard mentioned in  06. Order Form video, the referential integrity does not responds well with NULL fields so that triggered my memory and realized that I did the same thing to my OrderT table for CustomerID field (set it to Null) and to my OrderDetailT table for OrderID field.
I'm very glad that I solved my problem because it took me more than three hour of testing and changing things in my database objects...

Best regards,
Stamatis Papoutsis
Greece

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 5:35:41 AM. PLT: 1s