Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding records to vfp table
Message
De
19/05/2006 02:06:24
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Adding records to vfp table
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01123484
Message ID:
01123484
Vues:
47
Hi
I have an app that copies records to SQL and it works fine I wanted to try it against VFP tables but it crashes. It adds the first record fine but then return the error

"Additional information: Column 'pk' is constrained to be unique. Value '' is already present."

I have set the primary field "pk" as AutoInc and have a primary index on it. If I add records at the command window it works ok. So what have I forgotten to do?
TIA
Stuart
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform