APEX version 4.2.6.00.03
I have a Master/ Detail table. But I need to vaildate the detail table against the Master tables dates. Currently I use a PL/SQL expression below to validate against each the start_date and end_date in the master form. But this is done on submit. This is fine for the master form as only one instance.
CASE WHEN :Master_END_DATE >= :Master_Start_DATE OR
:Master_END_DATE is NULL THEN TRUE
ELSE FALSE
END;
But in the detail there could be upto 20+ rows. So some type of live check/onchange validation. But in the tabular detail form you can not access any of the items from with a dynamic action.
- Detail_Start_date >= Master_start_Date
- Detail_Start_date <= Master_End_Date
- Detail_End_date >= Master_start_Date
- Detail_date <= Master_End_Date
- Detail_Start_date >= Detail_End_date
- Detail_End_date <= Detail_Start_Date
Please see below a snapshot of the form

Is this even possible many thanks



