Re: Can't Update Records
From: John Vinson (jvinson_at_STOP_SPAM.WysardOfInfo.com)
Date: 06/23/04
- Next message: Emma: "Re: Data type mismatch in criteria expression"
- Previous message: Paul Johnson: "Re: Data type mismatch in criteria expression"
- In reply to: SeniorTrans: "Can't Update Records"
- Next in thread: Bikerman: "Re: Can't Update Records"
- Reply: Bikerman: "Re: Can't Update Records"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 23 Jun 2004 17:29:29 -0600
On Wed, 23 Jun 2004 16:42:49 GMT, "SeniorTrans"
<SeniorTrans@earthlink.net> wrote:
>Hi,
>
>I've now put both tables in the same database
You're apparently assuming either that you are the only person asking
questions here, or that all the volunteers have perfect memories and
remember your post from however long ago. Neither assumption is valid!
Which "two tables"?
>...not linked... I have joined
>the two tables with a one-to-one join.
One to one relationships are VERY VERY RARE. If you're not familiar
with the term "subclassing", then you probably don't want a one to one
relationship. One to many is MUCH more likely.
>Have built a form and use that query
>as the underlying Recordsource. But it will not let me update the record.
>when I try to edit...I get a warning that someone else has edited the record
>and saved it before I did and therefore my changes won't be saved...and I'm
>supposed to try again.
>
>What am I doing wrong? I've made hundreds of forms this way with no
>problem.
If you'ld care to post the SQL of the query, with a description of the
tables; and indicate what the Primary Key of each table is, and how
they are related, perhaps someone could help. Generally you might do
better to use a Form for the "master" table with a Subform for the
related table rather than creating a query to update both.
John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public
- Next message: Emma: "Re: Data type mismatch in criteria expression"
- Previous message: Paul Johnson: "Re: Data type mismatch in criteria expression"
- In reply to: SeniorTrans: "Can't Update Records"
- Next in thread: Bikerman: "Re: Can't Update Records"
- Reply: Bikerman: "Re: Can't Update Records"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|