Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for duplicates
Message
De
10/01/2000 15:09:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00315645
Message ID:
00315711
Vues:
21
IMHO, IndexSeek() is simplier, given that an index exist on that field.
>Use good ol' SQL
>
>* put the value into a var
>nPOID = po.id
>
>SELECT id FROM po WHERE id = nPOId INTO CURSOR cDuplicates
>IF _TALLY > 0
> =messagebox("Duplicate PO ID!... Flee the building!"
>ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform