Problems with Conditional Display and Read Only

Hi Everybody,
I have a form to Add/ Modify Table Info.
I have column which stores numeric value (like no. of purchases, no.of returns etc.,) and I have a text field with this Database column as Source.
In some cases the value is a foreign key (Id of the Owner, Buyer etc.,) to another table. In such cases, I want to display a select list containing people information. Is that possible?
This is what I did to achieve that
I added a select list with info from second Table. Made both the text field and the select list to conditional display and conditional read only.
My understanding is that When an item is made read only it should not be saved to the Database.
But while Updating I am getting the following Error
ORA-06550: line 1, column 130: PL/SQL: ORA-00957: duplicate column name ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored.
Any can anybody help me out on this?
Thanks
Nimmi

My understanding is that When an item is made read only it should not be saved to the Database
No, all page items with a Source Type of "Database Column" will be used by the Automatic DML process to insert/update the database. Form inputs with the "disabled" HTML attribute set are not POSTed to the server.
Try to create 2 items, one Select List and other Text Field but setup their conditions such that only one of them is rendered on the page at any given time. That might work.

Similar Messages

  • Help with Conditional Display and Validation

    Version 4.1.1.00.23
    Hello,
    I'm having a difficult time with a conditional display and validation I'm hoping someone can help with.
    Requirements:
    When the Start Date (Datepicker) and/or End Date (Datepicker) change then display the Change Reason (Select List) and Change Description (Textbox)
    If the page is saved without entering a Change Reason display a validation error message that the Change Reason cannot be empty (NULL)
    What I've tried
    Create a Dynamic Action on the Start Date
    Event: Change
    Selection Type:Item(s)
    Items(s): P51_START_DATE
    Condition: none
    True Action Section:
    Action: Show
    Fire on Page Load: Checked
    Show all page items on the same line: No
    Affected Items Section:
    Selection Type:Item(s)
    Item(s): P51_CHANGE_REASON,P51_CHANGE_DESC
    I've also created a Dynamic Action with similar settings for the P51_END_DATE.
    I created a Validation for the P51_CHANGE_REASON as Function Returning Error Text:
    DECLARE
        v_start_date    work_items.start_date%TYPE;
        v_end_date      work_items.end_date%TYPE;
    BEGIN
        SELECT start_date
              ,end_date
        INTO   v_start_date
              ,v_end_date
        FROM   work_items
        WHERE  work_items_id = :P51_WORK_ITEMS_ID;
        IF ( (v_start_date != TO_DATE(:P51_START_DATE,'DD-MON-YYYY') OR v_end_date != TO_DATE(:P51_END_DATE,'DD-MON-YYYY') ) AND
              :P51_CHANGE_REASON IS NULL ) THEN
            RETURN 'Change Reason must have a value';
        END IF;
    END;
    The Issue
    I tried to create another Dynamic Action to hide the P51_CHANGE_REASON and P51_CHANGE_DESC fields on page load, but when either of the date fields are changed and the validation is fired the P51_CHANGE_REASON and P51_CHANGE_DESC are hidden again.
    There are two buttons to submit the page: 'SAVE' will submit the page and stay on the page and 'SAVE_CHANGES' will submit the page and branch to the previous page (which is a report with EDIT buttons to edit the record).
    I can't get the page load Dynamic Action to NOT fire when the validation is fired.
    I hope this is clear and if not what information can I provide?
    Thanks,
    Joe

    Phil,
    Thank you for looking at this.
    Yes if the Change Reason is NULL when the edit page is displayed then the Change Reason and Change Description fields are hidden. If the Start Date (Datepicker) and/or End Date (Datepicker) change then display the Change Reason (Select List) and Change Description (Textbox). If the page is saved without entering a Change Reason display a validation error message that the Change Reason cannot be empty (NULL).
    The problem I'm having is that if no Change Reason is entered and the page is saved thereby firing the validation the Change Reason and Change Description fields are hidden again (because of the On-Load Dynamic Action to hide them). So now the user can't put in a Change Reason...unless they change one of the date fields again which isn't going to be accepted.
    Is there a way to determine if a validation error was fired and be able to use that on the On-Load Dynamic Action to hide the two fields? Something like...If the validation fired then don't run?
    Please let me know if I'm still confusing you.
    Thanks,
    Joe

  • Problem with Adobe Pro and Reader on terminal server

    Hi,
    We have have a Terminal Server environment with Adobe Pro and Reader. We have security for Adobe Pro, so only certain user has access to Adobe Pro and all users has access to Adobe Reader.
    Some users receive many email with pdf's attachments in Outlook and need to print these attachments. They use the Outlook function to print email and attachment automatically. The users who has access to Adobe Pro can print attachment automatically with no problem.
    The problem is user who only have access to Adobe Reader. The user can't print attachment automatically with the email, only the email is printed. But, they can open attachment and print with Adobe Reader. But, it's impossible to open each attachment because there are so many.
    Thanks for your help.
    Jonathan

    Hi,
    So if I understand correctly,
    1. You have installed Acrobat Pro & Reader on a Terminal server.
    2. You have created a security group in your Active Directory Users & Computers for users having access to Acrobat
    3. You have set permissions on C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe and C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrotray.exe on the terminal server and provided access only to the security group created above.
    4. Users are accessing the Terminal server through RDWeb or connecting remotely through MSTSC (RDP) or using a .RDP file
    5. Users get emails with PDF attachments and print the mail directly without opening the PDF in Reader.
    Users check the box to print the attachments with the mail (see snapshot below):
    Some questions:
    1. What is the OS and platform (x86 or x64) of the terminal server?
    2. What are the versions of Acrobat & Reader on the terminal server?
    Thanks,
    Vinod

  • Problem with HTML in a read only textarea item

    I'm working on a messaging system for our site. For the body of the message, we use a standard textarea item. However, if we come to the messaging page from a certain page in our system, then we pre-load the textarea item, and make it read only. The only problem with this is that there are HTML tags in the body that we try to pre-load. This is causing problems because they aren't being interpreted as tags, but are being displayed as text. If I make the textarea editable, then everything looks fine, it's just when I set the area to be read only that it doesn't work. Any thoughts on how to fix this? Thanks!

    Not always. A user is allowed to edit that area in most circumstances except for when the user arrives at the page coming from 1 page in particular. In this case, then the field is read-only. At all other times though, it is editable.
    As a workaround, whenever I know I'm coming from this page, I set a variable, and if the variable is set, then I use a Display Only item and then hide the Textarea. If the variable is not set, then I hide my Display Only item and show the Textarea. Not very elegant, but it works.

  • Re: office:mac 2011 problems with xcel docs becoming read only

    Hi
    I have office 2011 loaded on my Macbook Pro.  When I save my xcel docs and then try to reopen, I get a message to say that the doc has been locked (by me) and is read only.  If I agree to the read only, the doc opens and then another mess comes up saying that the document HD:Users:etc.xlsx is available do I want to edit.  If I choose the yes option, I then am asked to save under a different name.  Why does this keep happening.  I am new to Mac. Tks yr help

    You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type:  'resetpassword' (without the 's) and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.   
    http://osxdaily.com/2011/11/15/repair-user-permissions-in-mac-os-x-lion/

  • Printing Problem with Pro 8 and Reader

    I have this problem where when I print to any printer, from Acrobat pro, or reader, any sort of graphics/image in the PDF doesn't come out properly. For example, most of the graphics/image part looks solid black, or blocky. I usually take the same PDF, open it up on another computer, and print it to the same printer i normally print to, and it prints fine. I also can print from any other program other than acrobat/reader just fine.
    So far, i have uninstalled Reader, and reinstalled Acrobat, with no result.
    Any ideas?

    Not alot of information to go on but you might check to see if Print Color As Black is checked in the lower left corner of the Print dialog.

  • Problems with Skin display and publish options on FrameMaker 12

    Hi,
    Customising the FrameMaker output for web help is proving problematic.
    1. Here's the first issue - The Online FrameMaker help says the following:
    "You can also import WebHelp or compressed WebHelp skins defined in .skn or .zkn files, respectively. To import a skin, click Import and then select the .skn or .zkn file from the file system."   (see Adobe FrameMaker 12 * Customizing output specific settings)
    However, when importing a skin (publish settings > custom > outputs >navigation > skin selection > import), the  Import option only enables a file of type *.skn and not the compressed *.zkn.
    2.  Second issue - The customised skin is not picked up correctly in the Webhelp output.
    To be specific, the required graphic elements have not been copied over from the customised skin. The only way round this is to manually copy over the graphic skin files to the output folder and then refresh the help output. The graphics appear, but unfortunately the skin still does not display 100% correctly.
    3. Third issue. To create the customised skin, I had to create a new RoboHelp project and then create a new skin from one of the available skin galleries. Preview and generating the RoboHelp project displays the Skin correctly. Unfortunately, when using in FrameMaker, the skin does not display correctly.
    4th issue - inaccurate information in the online help regarding the ISF import options.
    The FM online help says the following:
    Important:  When you import an ISF file, the RoboHelp settings included in the file overwrite the corresponding FrameMaker STS file settings.
    To import an ISF file:
    In the Publish dialog, click the Settings button and choose Import ISF File.
    In the Select ISF File dialog, choose the settings file.
    Where's this option? There's no ISF import option on my version of FrameMaker???!!!
    Thanks

    Warren,
    In FM, Help > Updates... and configure your Update Application Manager on how often to check and how to handle updates. Or manually go the update page kisted on the main FM Forum Overview pagefor a manually download and install. You have to install the two patches in order to get up to the 12.0.2 version.

  • Problem with document display and gl account update

    Hi, I am facing a strange issue.
    When I post a document using FB50 or FB60, document is being posted and document number
    is generated successfully. However, when I go to document display I get a error messge
    this document does not exist in company code for the fiscal year 2009.
    When I check the GL Accounts, the GL accounts are also not being updated.
    This started happening since last 2 days prior to that it was working fine. This system
    is a test system and it has access to many people. I am guessing some setting might
    have been changed.
    I would appreciate if anyone can give suggestions where to look for to resolve this issue.

    Hi
    Check in SM13 if the transactions got locked. U might have to release with Basis help
    Thank You,

  • Outlook 2010 issue with .pub attachments and read-only

    Hello,
    Just starting this week per users they can't open a .pub(publisher) document from Outlook 2010, then edit the document click save or click the send to email button without being prompted to save the file to their my doc's or some where.  Tested
    it out and get the same error.  I can click forward, then click on the publisher attachment, then edit and save or click the X to close the document and the attached document includes the changes.  Then I can email out.  So it works that way
    but not the way they did it before.
    Also we did install updates last week so could be an recent update that is causing the issue.
    Appreciate any idea's or suggestions.
    Thanks,
    Nathan

    Workstations are on a domain
    Also it may appear to be more of a issue with 2000 .pub type of files.  As users can create a 2010 .pub file and it works great fine.  But every time a user opens a 2000 .pub file via outlook and tries to edit and save it requests the
    user to do a save as, vs. save to outlook temp location.

  • Experiencing problem with image display in LR5

    I have an intermittent problem with images displaying and exporting in LR. It just began a couple of months ago and is totally random - will do it with RAW (CR2) or JPG. It displays this way in all modules - Library, Develop, Slideshow....The image displays fine in a non-Adobe image viewer (Faststone or Windows Viewer). I've reloaded LR5 and PSCC and is still persists. I know the image file is fine. It also has begun effecting older images that were showing up just fine a while ago. I just loaded about 200 images and maybe 3 or so have this viewing problem in LR & PS. Has anyone else experienced it and have a suggested fix? My graphics card has the latest drivers and shows no problems with other applications. Here is the same image - one a jpg export from Lighroom, the other a save as jpg from Faststone. HELP!

    This is almost always a hardware problem, causing corruption of the file. The difference you see between Lightroom and other software is that Lightroom is accessing the full RAW image, while the other software is trying to read the embedded JPG preview.
    To figure out exactly what hardware is the problem, you need to try different transmission paths and hardware ... different camera cards, different card readers or USB cables/USB ports, different hard disks, etc. Eventually you should be able to isolate the problem.

  • Hello Apple. Iphone6 ios8.0.2. I have problem with activation imsg and fctm. My number doesnt display on both apps. I can only use them with my apple ID. How can i fix this problem. Country:Azerbaijan. Number:  *********

    Hello Apple. Iphone6 ios8.0.2. I have problem with activation imsg and fctm. My number doesnt display on both apps. I can only use them with my apple ID. How can i fix this problem. Country:Azerbaijan. Number:  *******
    <Edited by Host>

    Hello Khayalh,
    You should be able to link your phone number by following the steps in the article below. From your iPhone, sign out of FaceTime and iMessage and then sign back in and it should link. Check in the Start Conversation With and I Can Be Reached at section in iMessage and FaceTime respectively. 
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Regards,
    -Norm G. 

  • Editable and Read-Only Date Picker have different display formats -- Bug?

    Hi all,
    This is a follow on to a previous posting about getting a Date Picker field to display read-only (Date Picker and Read-Only Condition works on LAST state of element
    Now past that hurdle, I have noticed something about the date picker field when it is displays read-only. Namely, the date format is not the format selected, nor does the read-only date format comply with the format mask in the source section.
    I've modified my small test app to work as intended in order to demonstrate this feature. I also opened it up so everyone can see it <blush>. You can find it here: http://htmldb.oracle.com/pls/otn/f?p=42513: Please navigate to the Update Project tab.
    When a project in Program One through Four is selected (which has a Spec Committed date), the date is displayed DD-MON-YY format. When a project the other Programs (which do not have Spec Committed dates at the time of this writing) are selected, and a date value selected with the date picker, the date is displayed in the anticipated DD-MON-YYYY format.
    Anyone else notice this, or have I just missed something obvious?
    Thanks,
    Petie

    I'm not sure why this happens but to work around it I added this before header process code to the page:
    execute immediate 'alter session set nls_date_format = ''DD-MON-YYYY''';
    Scott

  • [svn] 4836: Fix problems with asdoc comments and conditionally compiled definitions.

    Revision: 4836
    Author: [email protected]
    Date: 2009-02-04 11:07:52 -0800 (Wed, 04 Feb 2009)
    Log Message:
    Fix problems with asdoc comments and conditionally compiled definitions. Fixes bug http://bugs.adobe.com/jira/browse/ASC-3649
    Ticket Links:
    http://bugs.adobe.com/jira/browse/ASC-3649
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/Compiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ConfigurationEvaluator.java

    In the default php.ini is set open_basedir which limits work with php only to few directories (and directories bellow them). There is set /srv/http, /home,/tmp and /usr/share/pear by default.
    To allow your vhost you should add /data/www or set empty value.

  • Problem with fonts display in safari and mail ???

    hello !
    sometimes i have problems with fonts display
    safari use a mathematics font instead of my preferences fonts
    i have to copy-paste in a text-editor to see the right font !!!
    i have the same problems sometimes in mail
    is anybody have infos about that problem ?
    thanks !
    p.s. mail version 1.3.11 - safari version 1.3.1

    OS X cocoa apps like Safari and Mail don't like non-Unicode fonts using common names that replace Latin with symbols or other scripts. Helvetica Fractions and Times Phonetic are common culprits. You need to remove such fonts to solve the problem.

  • Can't mount USB disk with the atribute of  fix and read-only

    Hello All,
    I have a usb disk which is set as fix(non-removalbe) and read-only. I tried to connect it to Macbook version 10.4.11 ,but it failed to mount the disk. However, connecting to 10.5.X and windows XP work fine. I am wondering is it a bug specifically in 10.4.11 only ? Could I get any patch for this problem ?
    Thanks,
    Ying

    HI Ying and Welcome to Apple Discussions ...
    Try repairing disk permissions.
    Quit any open applications/programs. Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac.
    Carolyn

Maybe you are looking for

  • Nomad Jukebox Zen Xtra VS Winows Media Player - Help?

    I have a 40gig Nomad Jukebox Zen Xtra - a computer crash a year ago resulted in a replacement by the computer company - and it came with Windows Media Player.... when I tried to run it and had already installed the Creative software/Music library - M

  • Error : Pre Settings for IDoc inbound processing are missing error

    Hi Experts, There is a CRM job which executes LSMW and I am facing a strange problem during the IDOC posting the error "Pre Settings for IDoc inbound processing are missing error". Can anyone please tell me how to correct this error? Thanks in advanc

  • Assign particular measring point to Particular Maintenance Plan

    Hi, I would like to know whether it is possible to assign measring point to maintenance plans. Here it goes the scenario Equipment= PUMP I have maintenance plan weekly & monthly In weekly maintenance plan ( Every Monday)I have to check 1.Vibration, 2

  • An error, please help me, urgent!

    When I copy the Edge Animation from one computer to another, the animation can not run normally, there are many error, the animation Can be shown correctly in the original computer.I have no Idea, whats going wrong. please help me, I'm in a hurry.Tha

  • Stopping a program from loading at start up.

    I have an application that automatically loads whenever I start up my iMac. How can I stop it? Thanks