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 Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
cannot add or change a record
Jennie Collins 
     
4 years ago
getting error "cannot add or change record because a related record does not exist in MasterquoteworksheetT"

I have a form based on the table above, a SF based on Q of the detail table. Have made changes to try and fix but not seeing it. Only thing i can think of is the way i did formulas in query. Feel like this is basic and i should know but Im obviously missing something. Thanks in advance!
Jennie Collins OP  @Reply  
     
4 years ago

Jennie Collins OP  @Reply  
     
4 years ago

Jennie Collins OP  @Reply  
     
4 years ago

Jennie Collins OP  @Reply  
     
4 years ago

Jennie Collins OP  @Reply  
     
4 years ago

Adam Schwanz  @Reply  
           
4 years ago
Why do you have quoteID and quoteDetailID in both tables?

Should just be QuoteID in the main table and then you can link details to that quoteID in the details table, unless I'm missing something. What are the child link field settings of the subform? Do you have a default value to put the quoteID in on the subform before you try to add something to it?
Jennie Collins OP  @Reply  
     
4 years ago
Adam,
i didnt at first but added detailid to quote table bc i couldnt figure out what i was missing.

let me post pic of child link field settings. i think linked by quoteid
Jennie Collins OP  @Reply  
     
4 years ago

Jennie Collins OP  @Reply  
     
4 years ago
quoteID and quotedetailID are autonumbers
Adam Schwanz  @Reply  
           
4 years ago
Do you have a default value for the subform for quoteID to take whatever is on the main forms quote ID?

Like =Forms!MasterQuoteF!QuoteID
Jennie Collins OP  @Reply  
     
4 years ago
nope... let me try that :-)

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

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: 5/10/2026 1:36:10 PM. PLT: 1s