Row can not be located ... on Delete
- From: "Eugene V. Goldberg" <egold@xxxxxxxxx>
- Date: Mon, 28 Apr 2008 14:48:22 +0400
D5, MS SQL 2000.
I have a dataset which joins 3 tables:
SELECT CIV_HEAD.*, CIV_PLAINTIFF.LAST_NAME,
CIV_PLAINTIFF.FIRST_NAME, CIV_PLAINTIFF.MIDDLE_NAME,
CIV_DEFENDANT.BUSINESS_NAME, CIV_DEFENDANT.LAST_NAME,
CIV_DEFENDANT.FIRST_NAME, CIV_DEFENDANT.MIDDLE_NAME
FROM CIV_HEAD LEFT JOIN CIV_PLAINTIFF ON CIV_HEAD.ID = CIV_PLAINTIFF.RID
LEFT JOIN CIV_DEFENDANT ON CIV_HEAD.ID = CIV_DEFENDANT.RID
All 3 tables have AutoInc ID field defined as primary key.
When i am trying to delete a record, it raises exception
Row cannot be located for updating. Some values may have been changed since
it was last read.
What am i missing? I expect Delete to remove the record from CIV_HEAD
table...
Thanx,
Eugene.
.
- Follow-Ups:
- Re: Row can not be located ... on Delete
- From: Brian Bushay TeamB
- Re: Row can not be located ... on Delete
- From: Steve Zimmelman
- Re: Row can not be located ... on Delete
- From: Kevin Frevert
- Re: Row can not be located ... on Delete
- Prev by Date: Re: Is This Thread Safe?
- Next by Date: Re: Strange AV deleting last record in access table
- Previous by thread: problem connecting to ADO programmatically
- Next by thread: Re: Row can not be located ... on Delete
- Index(es):
Relevant Pages
|