RE: Update Conflict
- From: Peter <Peter@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 11 Apr 2006 12:09:02 -0700
Hi Lee,
Thanks for the links. I'm hitting the issue described in 253886. I don't
quite understand the workaround.
Create a stored procedure that returns the data stored in SQL Server in a
converted format with millisecond precision removed. For
example:(convert(datetime,convert(char,getdate())))
How does this work with remote view? Does it mean that the remote view will
call this stored procedure?But how?
Thanks,
Peter
"Lee Mitchell" wrote:
Hi Peter:.
I don't know what might be causing this. However, I am sending you several
articles that mention this error in hopes that they may shed some light on
this problem.
253886 An ODBC error may occur when you update the DateTime data in
Microsoft SQL Server 7.0 or later versions and in Visual FoxPro
http://support.microsoft.com/default.aspx?scid=kb;EN-US;253886
148999 BUG: ON ERROR Not Called When Update Conflict Occurs in Grid
http://support.microsoft.com/default.aspx?scid=kb;EN-US;148999
177062 PRB: Update Conflict When Key Field Is Not Unique in Remote View
http://support.microsoft.com/default.aspx?scid=kb;EN-US;177062
138809 PRB: Update Conflict w/Remote View When WhereType Set to Time
http://support.microsoft.com/default.aspx?scid=kb;EN-US;138809
198606 "Update Conflict" message when modifying SQL Server data
http://support.microsoft.com/default.aspx?scid=kb;EN-US;198606
I hope this helps.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell
*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/
*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr
Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/gp/lifeselectindex
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003
Hi,
I'm getting a update conflict in VFP8 SP1 when I update one particularfield
of a record in a particular SQL SERVER 2000 table thru remote view.
1. I'm sure that no one is updating that record.new
2. I have traced in both VFP and SQL Server Profiler and don't see any
updating before my update.
3. It does not happen to every record. For example, if I duplicate a
record (except the primary key) which has the update conflict issue, the
record does not get update conflict.
The SQL Server is running on Compaq Proliant with Raid (probably Raid 5).
Can it be caused by hardware?
- References:
- RE: Update Conflict
- From: Lee Mitchell
- RE: Update Conflict
- Prev by Date: RE: Update Conflict
- Next by Date: Alias not found ?
- Previous by thread: RE: Update Conflict
- Next by thread: Alias not found ?
- Index(es):
Relevant Pages
|