Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Validation Question
Dereck L. Dietz wrote:
> "DA Morgan" <damorgan_at_psoug.org> wrote in message
> news:1129517739.858461_at_yasure...
>
>>Dereck L. Dietz wrote: >> >>>I'm creating a simple Oracle 6i form which consists of one block
>>>of a three field scrolling area. >>> >>>I want to be able to validate the entered data to check for duplicate
>>>before I commit the data. I can check for duplicates if they exist in
>>>database but I can't figure out how to validate new entries that aren't
>>>the database already and are duplicates. >>> >>>Any suggestions on how I can accomplish this? >>> >>>Thank you very much. >> >>WHEN-VALIDATE-RECORD trigger is one way. >>-- >>Daniel A. Morgan >>http://www.psoug.org >>damorgan_at_x.washington.edu >>(replace x with u to respond)
See if anything in the form is a violation of the constraint: Query the table(s).
Which seems like a waste to me but it is what you asked.
-- Daniel A. Morgan http://www.psoug.org damorgan_at_x.washington.edu (replace x with u to respond)Received on Mon Oct 17 2005 - 01:17:40 CDT
![]() |
![]() |