Re: validate the uniqueness of data first before inserting
Re: validate the uniqueness of data first before inserting
- Subject: Re: validate the uniqueness of data first before inserting
- From: Ashley Aitken <email@hidden>
- Date: Wed, 16 Jun 2004 18:09:45 +0800
Hi KB (et al.),
On 16/06/2004, at 5:32 PM, Goh Keng Boon wrote:
I got this field called customer_code which is keyin by user manually
and it need to be unique. How can it check if it is unique first
before inserting the whole record into database?
Try and fetch an object/record with the same value for customer_code ...
Cheers,
Ashley.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.