AddRecord non-unique
Ruslan Zasukhin
sunshine at public.kherson.ua
Tue Dec 20 20:04:57 CST 2005
On 12/20/05 7:56 PM, "Ed Kleban" <Ed at Kleban.com> wrote:
Hi Ed,
> How do you detect if you have tried to add a record using API call AddRecord
> to a table
> with a non-unique field value for a field that is declared unique?
>
> Test for returned value of 0?
>
> Any other way?
>
> Any exceptions raised?
If you TRY AddRecord, then yes exception
If you want test before that use ValueExists()
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list