?
Solved

apex

Posted on 2012-03-28
4
Medium Priority
?
772 Views
Last Modified: 2012-04-03
in my application
i have a home page where date column is there if the date column is not null
then all items in other pages should be disabled(locked)not updatble only can view
but if date column is null then all items in pages are updateble.

how to disable some items in pages when i select with some condition
0
Comment
Question by:vsarma50
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 20

Expert Comment

by:gatorvip
ID: 37778747
For those items, change their Read-Only condition to Value of Item/Column in Expression 1 is NOT NULL and set the Expression 1 field to your date column
0
 

Author Comment

by:vsarma50
ID: 37797318
Hi
this is working only for one column
but i have condition with 4 columns
1) date
2) anothercolumn1
3) another column2
4) another column3
in this column 1 to 3 should be null and the date should match with date in the first page
then the fields are locked
but now with this solultion iam able to check only one
expression 1 is not null
how can i do this please advice.
thanks.
0
 
LVL 20

Accepted Solution

by:
gatorvip earned 2000 total points
ID: 37797879
>>this is working only for one column

Yes, because that is what you asked for in the original question. My answer was correct for what you stated initially: "where date column is there if the date column is not null"

Now you are asking about 4 columns and there's an additional requirement for a date match. In the future, please ensure to give the correct details or post a new thread with the new question.

What you probably want to do in this case is to change the Read-Only condition to PL/SQL Expression, then change the Expression 1 field to something like:
:P_COLUMN1 is not null
and :P_COLUMN2 is not null
and :P_COLUMN3 is not null
and :P_DATE_FIELD1 = :P_DATE_FIELD2  

Open in new window

The date condition his is where you need to be more specific as to what you actually have on your pages. You can add a separate validation to ensure that the date fields actually contain a correct date.
0
 

Author Closing Comment

by:vsarma50
ID: 37802562
Thanks very much it worked for text columns but if it is a report column how can I change the read only property. please advice.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question