Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages
Started by J Salter
Mon, 23 Jul 2001 14:10
Client DataSet error - Record Changed by another user
Author: J Salter
Date: Mon, 23 Jul 2001 14:10
Date: Mon, 23 Jul 2001 14:10
15 lines
1443 bytes
1443 bytes
I have a client dataset with detail records hanging off it. When I do a save I am getting an error from the first detail CDS saying : Record Changed by another user. It appears to me that it is making the changes from this Detail CDS and then going on and committing the changes from the others and then it starts again so it does the first one again and as it has the same data in it as what was just saved already it thinks that that the data was changed by someone else. Can anyone offer advice on how to solve this Thanks for your help Jayc
Re: Client DataSet error - Record Changed by another user
Author: Bruce Theobald
Date: Tue, 31 Jul 2001 01:31
Date: Tue, 31 Jul 2001 01:31
38 lines
1793 bytes
1793 bytes
Hi, I'm not sure if this helps, but I had a similar problem when I tried to update records (through a TDataSetProvider) that contained TDateTime fields. I eliminated the problem by setting InUpdate to false for the datetime fields' provider flags. Bruce Theobald J Salter wrote in message <3b5c2258_2@dnews>... > >I have a client dataset with detail records hanging off it. When I do a >save I am getting an error from the first detail CDS saying : Record Changed >by another user. > >It appears to me that it is making the changes from this Detail CDS and then >going on and committing the changes from the others and then it starts again >so it does the first one again and as it has the same data in it as what was >just saved already it thinks that that the data was changed by someone else. > >Can anyone offer advice on how to solve this > >Thanks for your help > >Jayc > > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads