0

I have a form in oracle apex to make production records, I have the date, time, area and line fields.

How can I do so that the user does not enter repeated data on the same day? For example, if the 7/7/20 already registered at 7 am, how to validate so that someone else does not enter a registration from 7/7/20 at 7 am

1 Answer 1

1

Let the database take care about it. How? Create unique index on those columns, e.g.

create unique index ui1_prod on production (cdate, ctime);
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.