Re: Record not found or changed by another user
- From: "SKaziolas" <SKaz@xxxxxxxx>
- Date: 28 Mar 2006 00:26:12 -0700
Hi,
The problem was indeed in the date stored in the datetime field. I have a datetime field in MSSQL which filled with the GetDate() function. By using the CONVERT (SMALLDATETIME , GetDate(),101) the problem was corrected. I'm not sure but I think by setting the pfInWhere ProviderFlag for the datetime field to false didn't solve the problem.
Thanks
"Bill Todd" <no@xxxxxx> wrote:
Set the pfInWhere ProviderFlag for the datetime field to false and see
if that solves the problem. Converting a SQL Server datetime value to a
Delphi TDateTime value and back frequently results in a different
number of milliseconds so the record is not found by the UPDATE
statement.
--
Bill Todd (TeamB)
.
- Follow-Ups:
- Re: Record not found or changed by another user
- From: Bill Todd
- Re: Record not found or changed by another user
- References:
- Record not found or changed by another user
- From: SKaziolas
- Re: Record not found or changed by another user
- From: Bill Todd
- Re: Record not found or changed by another user
- From: SKaziolas
- Re: Record not found or changed by another user
- From: Bill Todd
- Record not found or changed by another user
- Prev by Date: Re: Automating DTS conversion?
- Next by Date: D7-access key problem
- Previous by thread: Re: Record not found or changed by another user
- Next by thread: Re: Record not found or changed by another user
- Index(es):
Relevant Pages
|