Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for duplicates
Message
 
 
À
10/01/2000 15:08:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00315645
Message ID:
00315716
Vues:
31
>Look at IndexSeek(), it will return .T. if the searched expression is found without moving the record pointer if the second parameter is .F.
>
>HTH
>According to the legacy code I'm redoing, there's not supposed to be duplicates. Which would make sense since the field is a serial number. But I just did a query and there's 103 of them with duplicates and they're not deleted, either.
>>
>>I don't know how to handle this. If I put in a check for duplicates, it's going to complain every time it tries to save one of those records. I suppose I could do like the old program does and only check when you first add a record. But that brings me back to the original problem of how to check for duplicates without moving the record pointer.

Thanks,

Michelle
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform