Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for duplicates
Message
From
10/01/2000 15:21:00
 
 
To
10/01/2000 15:08:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00315645
Message ID:
00315716
Views:
34
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform