Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 22nd, 2005, 10:53 AM
Authorized User
 
Join Date: Apr 2005
Location: Wymondham, Norfolk, United Kingdom.
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
Reply With Quote
  #2 (permalink)  
Old June 24th, 2005, 03:32 AM
Authorized User
 
Join Date: Apr 2005
Location: Wymondham, Norfolk, United Kingdom.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

anyone?
Reply With Quote
  #3 (permalink)  
Old June 24th, 2005, 06:24 AM
Authorized User
 
Join Date: Jan 2005
Location: Bristol, , United Kingdom.
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.



Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 08:53 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.