Re: "Row cannot be located for updating. Some values may have been changed since it was last read."
From: Brian Bushay TeamB (BBushay_at_Nmpls.com)
Date: 12/14/04
- Previous message: Brian Bushay TeamB: "Re: Using a MS-Access database"
- In reply to: Eugene Tsimberg: "Re: "Row cannot be located for updating. Some values may have been changed since it was last read.""
- Next in thread: Eugene Tsimberg: "Re: "Row cannot be located for updating. Some values may have been changed since it was last read.""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 13 Dec 2004 22:19:01 -0600
>You are right Brian I would lose that bet. I was able to verify that the problem lies in the
> ADO recordset implementation. It appears that ADO's SQL parser is case sensitive
> ( I could not believe it ) and if the table name in the FROM clause and in the join is exactly
> the same it will break, but if they are spelled differently (e.g. EMPLOYEE and employee) the
> Update works. As soon as I do this however ADO stops recognizing the "Unique Name"
> property as a valid property and throws and error 'Unique table is nonexistent or not
> completely specified.' I have to have the 'Unique Table' property however so that my
>Resync command is generated with the correct primary key atom.
You should be writing the Resync Command for a joined query not relying on what
ADO generates. Maybe that will handle your problem.
Unique table should only be affecting Deletes
You may want to use TBetterAdoDataset
http://betterado.hit.bg/
This TadoDataset defendant makes using Resync Command and a lot of other ADO
properties a lot easier.
-- Brian Bushay (TeamB) Bbushay@NMPLS.com
- Previous message: Brian Bushay TeamB: "Re: Using a MS-Access database"
- In reply to: Eugene Tsimberg: "Re: "Row cannot be located for updating. Some values may have been changed since it was last read.""
- Next in thread: Eugene Tsimberg: "Re: "Row cannot be located for updating. Some values may have been changed since it was last read.""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|