Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uniqueness of index EID_PK is violated
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Uniqueness of index EID_PK is violated
Divers
Thread ID:
01307337
Message ID:
01307337
Vues:
66
I'm getting this error when running this SEEK:
** THIS SEEK LINE CAUSES THE ERROR
** cKey has "8263 PLUS   BNS37LBC10" in it
IF !SEEK(cKey,"EQPINSTDF","EID_PSC")

    lnEIDPK = NEW_PK("EQPINSTDF")

    INSERT INTO EQPINSTDF;
        (eid_pk,eid_prod_code, eid_shipper, eid_consignee, eid_entered,eid_enteredby, eid_prd_fk);
	VALUES(lnEIDPK, cProdCode, womast.wom_loader, womast.wom_consignee, DATETIME(), lcUser, products.prd_pk)

ELSE

    lnEIDPK = EQPINSTDF.EID_PK

ENDIF
Anyone know why this is?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform