Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange error HELP!!!!
Message
From
24/11/2001 20:49:19
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Strange error HELP!!!!
Miscellaneous
Thread ID:
00585461
Message ID:
00585461
Views:
36
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
Next
Reply
Map
View

Click here to load this message in the networking platform