Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 21st, 2004, 07:15 AM
Registered User
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default left join form issues?!

Greetings and thanks for reading this!

I have a bit of an issue. It has been a long time since I had to program in Access. My issue is that I want a form to display a list of items on the left, and using the left join be able to save attributes about the items on the left using the joined table on the right. HOWEVER the query doesn't seem to be updateable. What fundamental law of relational databases am I breaking here?!

Since the data on the left isn't changing it shouldn't save it. Why is the recordset read-only (right table)? To put it in better terms:

Students is the left table, if they ate breakfast is on the right.
The left join shows the student names by grade (via a filtered combo) - the right has the date (format(now(),"mm/dd/yyyy") as the default value - and a checkbox (yes/no) for whether they have eaten breakfast. The "breakfast" table includes a 1-to-many relationship - I am lost here. I have tried to use two different queries to produce the same affect to no avail this seems like the way to do it. I just can't see the mistake here.
Any suggestions welcome!
Thanks in advance!
John
 
Old August 2nd, 2004, 01:46 PM
Authorized User
 
Join Date: Jul 2004
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

do you have a primary key on the second table? it's hard to do that kind of update without a primary key. it should be student_id and date.





Similar Threads
Thread Thread Starter Forum Replies Last Post
left outer join keyvanjan Classic ASP Basics 1 April 15th, 2006 05:37 AM
left outer join keyvanjan Classic ASP Professional 0 February 5th, 2006 11:54 AM
Why doesn't this LEFT JOIN work? harg7769 Access 2 April 13th, 2005 04:49 AM
left join msrnivas Classic ASP Databases 2 October 15th, 2004 07:37 AM
Oracle 8i inner join and left join problem puteri_84 Oracle 2 August 19th, 2004 07:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.