Oracle Forms (MOSC)

MOSC Banner

How to validate and compare values on one record with other records in a multi record block?

edited Mar 1, 2010 6:29PM in Oracle Forms (MOSC) 17 commentsAnswered ✓
  Hi 

I have seen posts on the forums that explain how to loop thro multiple records and perform validation  in a tabular database block .  My problem is a little more than just looping thro the records.

Let us say we have the following columns in the multiple record database block -

Product   Price Start_date  End_date

Users enter/update information in the rows under these columns and there are multiple rows. Once all changes have been made, the requirement is that before applying changes to the database, there should be a check performed to make sure that any one product does not have more than one entry for a specified time interval. As an example if I enter

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center