Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uniqueness error
Message
 
 
À
23/07/2007 12:07:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01242809
Message ID:
01242846
Vues:
16
>I'm still receiving the same error on Form A not on B

Edgar,

It is not clear if you followed our advices. Did you delete the empty record and packed the table? Are you sure the new ID you provide is unique?

You may want to check, if the ID you're trying to create, already exists with indexseek function.

E.g.
lnNewID = some number
if indexseek(m.lnNewID,.f.,'MyTable','MyTag')
   ** We already have this ID, can not insert
endif
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform