Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange error HELP!!!!
Message
From
26/11/2001 18:34:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
24/11/2001 20:49:19
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00585461
Message ID:
00586084
Views:
24
>STRANGE error Error # 1585 Update conflict on line with Requery() if and **ONLY** if I replace a datetime() field. It will run down through 8 or 10 records and then locks up (with error 1585). If I comment out that line (as shown below) it runs through several thousand records with NO PROBLEM.
>
>How can that be a conflict????
>
>Using VFP 6 and SQL 7
>
>My application replaces the data in a few of the SQL fields using a remote view.
>
>Code
>
>Store datetime() to xdate
>
>SELE e &&remote view of SQL table
>=Requery() && I have set the memory variable for the unique record and it **DOES find the unique SQl record
>IF reccount()=1
> *REPLACE e.nopicdate with xdate
> REPLACE e.donotpic with .t.
> REPLACE e.accessfee with .f.
> REPLACE e.nopicreason with 25
> =tableupdate()
>
>
>The Datetime() filed IS the problem.
>
>TANKS
Joel,
Check if xdate is nonempty and if it's check if there are any constraints set on SQL server table that would deny the change.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform