Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange error HELP!!!!
Message
De
26/11/2001 18:34:57
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
24/11/2001 20:49:19
Joel Hokanson
Services Integration Group
Bellaire, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00585461
Message ID:
00586084
Vues:
25
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform