Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to exclude duplicates
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00090768
Message ID:
00090772
Views:
21
Hey Larry,

>I want to check for duplicates before I commit a new record.
>
>My form uses bound text boxes and the 'Add' button appends a blank record. When the text boxes are filled in, and I search for a pre-existing record using the key fields, I find the record I'm adding!!!
>
>What is the right way to do this? Does it involve public/private datasessions - buffermode settings - etc.?

Take a look at PRIMARY and CANDIDATE indexes.
Jim Duffy
Microsoft MVP
INETA Speaker
TakeNote Technologies
Developer's Choice Award Winner for Best Training Company
Specializing in VB.NET, ASP.NET, VFP, and SQL Server Training and Development
Previous
Reply
Map
View

Click here to load this message in the networking platform