AddRecord non-unique

Ed Kleban Ed at Kleban.com
Tue Dec 20 12:11:13 CST 2005


Thanks,  Please document this.


On 12/20/05 12:04 PM, "Ruslan Zasukhin" <sunshine at public.kherson.ua> wrote:

> 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()
> 




More information about the Valentina mailing list