Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to Update Check box or field in a Tabular form based on select from another table

Bronwyn DSep 9 2016 — edited Sep 15 2016

Please could you be of assistance I am battling my way around Apex with things which would appear to be easy.

I am battling to Update Check box or field in a tabular form based on
a select from another table .

The Tab form to be updated is based on a select statement

select

"MAINT_ID","ROWID","LAYER_ID",""SYS_LAYER_ID","SYSTEM_ID",

"MAINT_OBJECTIVE","MAINT_NOTES","TRK_ENV_ID","ASSIGNED_TO","DATA_DATE",

"COMPLETED",'N' DEPENDENCY from
"#OWNER#"."AA_TRK_MAINT"

where "LAYER_ID" = :P5_LAYER_ID

and "DATA_DATE" = :P5_DATA_DATE

What I am trying to do is update a checkbox or text field “Dependency’
to “Y’ based on a select count() or exist from another table .

  1. i.e

select count('x') into l_count

from aa_dep_apps_V a

where sys_layer_id =
:sys_layer_id;

I tried using a check box however I found them a bit
confusing although a check box it would be better , I am using a field here in
the Tab form defaulted to ‘N ‘

The Form looks something
like this :

pastedImage_6.png

Kind regards

Bronwyn

This post has been answered by ahsu on Sep 12 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 10 2016
Added on Sep 9 2016
5 comments
462 views