Board index » delphi » How to prevent duplicate records in paradox table?

How to prevent duplicate records in paradox table?

Just make the index UNIQUE

--
Roman
(please remove 'stopspam' in header when replying)
mail: i...@rksolution.cz
URL: www.rksolution.cz

Admire123(Gary1st) p?e ve zprv <37A4859D.81881...@hotmail.com>

Quote
>i have set a String field to keyfield in database desktop
>but when i add record to the table, it won't check duplicate record for
>me
>does delphi has such function?how can i achieve that?
>thx

 

Re:How to prevent duplicate records in paradox table?


i have set a String field to keyfield in database desktop
but when i add record to the table, it won't check duplicate record for
me
does delphi has such function?how can i achieve that?
thx

Re:How to prevent duplicate records in paradox table?


Quote
>i have set a String field to keyfield in database desktop
>but when i add record to the table, it won't check duplicate record for
>me
>does delphi has such function?how can i achieve that?

What kind of table is this?  A primary index in a paradox table will enforce
uniqueness.  If there is more than one field in the index then the unique value
will be the value of all the index fields

--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Other Threads