Posted on 1998-08-28
This question is easy. I'm developing a batabase system to my university and it must be FAST and ELEGANT. I know that there are a lot of ways to perform a search, but I'd like to know the best in this case:
I have a form with several DBEdits linked to one table. The first DBEdit is the primary key of the table. I need to search the table to avoid key violations and notify the user. It's easy, but if the key is in the second DBEdit and I perform the search and a key violation ocurrs, the text of first BDEdit is lost. How solve it? I'd like to know your opinions about the best searchs and the right way to use CachedUpdates.
Tanks in advance.