Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
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 June 22nd, 2005, 10:53 AM
Authorized User
 
Join Date: Apr 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default 2 tables, 1 query, 1 form, cannot edit :(

I have a form which displays information using a single query. This query retrieves data from two tables. Which are linked through a common field. However, I am unable to edit any of the fields within the form. if I make the query look at only one table then I can edit till my hearts content. What am I doing wrong?

Many thanks

Robert Dolphin
 
Old June 24th, 2005, 03:32 AM
Authorized User
 
Join Date: Apr 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

anyone?
 
Old June 24th, 2005, 06:24 AM
Authorized User
 
Join Date: Jan 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

By editing a field on the form, you are probably trying to change an entry in the table on the 'many' side of a 'many to one' relationship, which cannot be done in Access (neither can you Delete). You many have to think about creating a result table from your two tables, base the form on this, change the form, and hence the result table, and then write an Update query to update the table on the 'many' side.

How do you eat an elephant? Break it up into small chunks. Unfortunately, Access contains many elephants.








Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit Table through a Form Coby Access VBA 3 August 17th, 2007 07:10 AM
Edit Form Query Cagou PHP How-To 2 November 18th, 2005 08:59 AM
Edit form mrideout BOOK: Beginning ASP.NET 1.0 0 August 25th, 2004 04:32 PM
prevention of edit forms/tables damnnono_86 Access 10 November 17th, 2003 12:43 AM
How form can edit mateenmohd VB Databases Basics 2 June 22nd, 2003 02:43 AM





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