Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uniqueness of index EID_PK is violated
Message
From
01/04/2008 11:11:54
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01307337
Message ID:
01307350
Views:
11
Hi Kevin

If you're running row buffering, any attempt to move will attempt to "save" the record, which can cause that error. I recommend using table buffering only.

>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform