How do I display the correct value when using SELECT_LIST_FROM_QUERY

I have an updatable report that displays the possible values for a field.
I'm using HTMLDB_ITEM.SELECT_LIST_FROM_QUERY, so obviously I have to process the record manually.
However, I need the trick to display the correct value as selected before processing the records.
I appreciate your help.
Thanks
Juan

Thank you.
So, I just need to put the field name in the second argument.
I have it working now.
Thanks again
Juan

Similar Messages

  • How to update zero to a column value when record does not exist in table but should display the column value when it exists in table?

    Hello Everyone,
    How to update zero to a column value when record does not exist in table  but should display the column value when it exists in table
    Regards
    Regards Gautam S

    As per my understanding...
    You Would like to see this 
    Code:
    SELECT COALESCE(Salary,0) from Employee;
    Regards
    Shivaprasad S
    Please mark as answer if helpful
    Shiv

  • How do you update the Bios safely when using onboard RAID mirror? Z87-G45

    How do you update the Bios safely when using onboard RAID with Z87-G45?   I'm using a simple two drive, RAID 1 mirror setup.
    I'm currently at bios 1.4, and want to move up.  However, last time I upgraded the BIOS, the machine rebooted with improper settings for the RAID (they get hosed during BIOS flash) and Windows decided to auto-repair the only boot drive it could see, one half of the mirror, because it couldn't see the RAID array correctly and *POOF*  bare-metal reinstall required.   
    My PC will not let me press the DEL key on bootup to access the bios, even with MSI Fast Boot not installed.  It just ignores the DEL key and tries to load windows which, if that happens, will flame-out my RAID array after a bios flash if I can't catch it to enable the RAID first before windows loads.
    I do not want to rebuild my PC again simply because I do a BIOS update.

    FYI: BIOS 1.4 & 1.8 are using the same RAID version: 12.7.0.1936
    based on this RAID surprise should not hapends.
    But as pandaz says if you have no issues, leave bios update alone.
    there are still risks something to messed up,
    best do a backup of your data just in case if you want to try latest version

  • How can I display the correct enum ring value from a parameter file?

    A user will make selections based on the menu ring (there are several of these) and then the values are saved for later use as a parameter (text) file. I have several menu rings which I write out to a parameter (text) file.
    How can I take these text values back into the appropriate location in the menu ring. For example, if I have menuring_value at index 0, menuring_value at index 1, etc. how do I make sure that, when the par (text) file is loaded, the saved values are the ones displayed without erasing the displayed menu ring value and inputting the saved one (from the parameter file). I would like the text value to search the appropriate menu ring, make a match and then display that menu ring value when the parameter file is loaded.

    If I understand your question, attached VI should have solved your doubt
    In this example, Configuration File VIs are used to save & retrieve MenuRings' statuses.
    As this VI is improvised, please further modify it to suit your needs.
    Cheers!
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    GUI_Menu Ring Status Save & Retrieve.vi ‏69 KB

  • Displaying the correct value of Y in page X of Y when running a batch

    Hi There
    Does anyone know how I can re-set the Y of page X of Y in the footer for each PO when running a batch?
    I am using <?for-each@section:G_HEADERS?> which is working great for each PO - re-setting the PO number in the header and re-setting the X in page X of Y in the footer for each PO, but unfortunetly the Y is set to the maximum number of pages of the first PO. I.e. If the first PO have 5 pages then each PO after that will have a Y set to 5 even if they have less or more pages.
    Does anyone know what I can do to get round this?
    I am running version 5
    Regards
    Ruth

    OK I don't have the time to try it out - here just the solution idea.
    1) XSL allows you to have links that gets the page number of an object with an id.
    This is used for example in our table of contents.
    2) You create a link to an object (empty fo-block) on the last page.
    3) The problem is that each of the objects for each of the sections needs a seperate
    identifier otherwise you have the same bug that 5.0 has.
    4) You use i.e. the position() from the loop (@section loop) to concatanate it to the id.
    Total Page Number
    <fo:page-number-citation ref-id="MY_KF_END_OF_PAGE{position()}" />
    End of Page reference
    <fo:inline id="MY_KF_END_OF_PAGE{position()}" />
    You may have to save the position in a varaible - be careful to use the correct
    context - probably incontext - check the user guide on contexts.... I would need
    to play with the context for the variable myself.
    Hope that helps.

  • LOV Displays the Return Value when Read Only

    Greetings,
    I searched for a question/answer for this, but didn't find this exact scenario mentioned, but I may have missed it. If you know of this already been asked/answered just point me to the thread.
    On APEX version - 4.1.1.00.23
    I have a LOV that is populated by a dynamic action from another LOV. That works great. Depending on the value of another page item the 2nd LOV is Editable or Read Only. The problem is that when the 2nd LOV is Read Only the result value (an ID) displays instead of the display value.
    1 - Why is this?
    2 - How do I prevent this from happening?
    Also, I don't want 2 separate page items (one for edit, one for display) for the 2nd LOV, because the 2nd LOV also has a dynamic action on it to populate a 3rd LOV. The population of the 3rd LOV works great, whether the 2nd LOV is editable or read only.
    = = = = = = = 2nd LOV SQL = = = = = = =
    select sub_com_desc||' - '||commodity_desc d, defect_code_header_id r
    from qcis_defect_code_header
    where inactive_date IS NULL and plant_id = :P10_PLANT_ID
    order by sub_com_desc
    = = = = = = = = = = = = = = = = = = = =
    Thanks, Tony
    Edited by: cloaked on May 8, 2013 12:11 PM

    I've decided to try a different approach. Since the Select List LOV was Read Only and not populating correctly it was causing a session state error when inserting the row. So, I've made the Select List LOV editable, but it shouldn't be. I now need to disable the page item using JavaScript to prevent it from being changed. I need to do so only when a page item contains a certain value.
    Will someone share an example of JavaScript snippet of code I need to use? (I'm not much of a JavaScript coder.)
    The page item I need to disable is named - P10_DEFECT_HEADER_ID
    I need to disable it when P10_MAP_TYPE = 'P'
    Thanks, Tony
    Edited by: cloaked on May 15, 2013 1:00 PM

  • Drill-down and how to change to the correct value in the dashboard title

    Good Morning,
    I have a problem on the presentational side, which some of you might have seen as well.
    My dashboard page looks like this:
    Dummy Prompt 1: YearFrom
    Dummy Prompt 2: YearTo
    Prompt 3: Item
    All three prompts have a presentation variable to show their respective value in the title of the dashboard page.
    Below the prompts is the report, which is filtered by the three prompts and contains a column "year" with the option to drill-down.
    When I drill-down on a "year" value, a column "month" appears and shows the values of the year by month.
    Problem : After the drill-down the title still displays the old "YearFrom" "YearTo" values and not the year I drilled-down on
    Question: How to I change the title to the correct year?
    Optional: In the drilled-down report I would like to hide the column "year".
    Every idea is appreciated
    Turalf

    hi, with JSF 2 you got the ajax tag, just tried it and it works fine :)
    <h:inputText id="myinput" value="#{back.name}">
        <f:ajax execute="@this" event="keyup" render="outtext"/>
    </h:inputText>
    <h:outputText id="outtext" value="#{back.name}"/>or before JSF 2
    <h:outputScript name="jsf.js" library="javax.faces" target="head"/>
    <h:inputText id="myinput" value="#{back.name}" onkeyup="jsf.ajax.request(this, event, {render: 'outtext'}); return false;"/>
    <h:outputText id="outtext" value="#{back.name}"/>The name property is a simple String in the bean.
    Hope this helps
    Edited by: hereps on Aug 21, 2010 7:18 AM

  • How can i import the AUC value when the project go-live

    Dear all experts,
    please help me on the following issue.
    our SAP project will go live in Jan 2010.
    there are some open investment projects to be imported in the PRD.
    the projects are settled to AUC when it is not completed.
    so the actual cost of open projects are the value of AUC.
    but i can not use AS91 to import the value for the AUC because the asset class is for investment measure.
    so  i want to know how can i import the value to AUC thanks a lot.

    Dear  Judy ZHU,
    You can do manual posting to FI using T code like FB50,
    Dr - Cost element(related to project cost ) & WBS
    Cr- CWIP account.
    After that run CJ88 for that project, your project expenses will be settled into AUC/Cost center.
    This is one proposed solution for this to my knowledge..
    SAP experts,  Please correct this if i'm wrong, since I' have not  practically used this method.
    Regards,
    Sam L.

  • How can I display the same page when I'll press

    i have a jsp page. It contains user name & password.
    and a link like SIGNOUT COMPLETELY. when i press the back button it should show only this page.
    You have noticed one thing that when u sign out from YHAOO MAIL then a page is displayed
    USERNAME : [email protected]
    PASSWORD :XXXXXXXXXX
    SIGNOUT COMPLETELY
    when this page is dispalyed and u press the back button of the browser
    it displays the same page. How it happens?

    Kindly neglect the previous post.....
    Okay check something like this
    1).maintain either a HttpSessionListener or a session flag try to checkout whether the user is active or else close the PrintWriter.
    2).Prevent caching of the webpage by using customary meta tag or by response,setHeader("Cache-Control","no-cache");
    way...
    Guess tht shud work.....

  • How to display the master TOC when using Context help in a merged document

    I use Robohelp 10. I have created a large Merged Webhelp project and I have set out the project master with nothing in it other than merged projects place markers.
    This is the layout of the generated projects etc.
    Generate
              Master.htm
                   Redirect.htm  (Home page is a redirect to Project 1 Home Page - not in TOC)
    mergedProjects
              Project1
                  Home Page.htm
              Project2
                   Redirect.htm  (Home page is a redirect to Project 1 Home Page - not in TOC)
              Project3 etc.
                    Redirect.htm  (Home page is a redirect to Project 1 Home Page - not in TOC)
    I can get the help to work great when I call up the master page, which shows the TOC for the whole project and the default home page. And from the breadcrumb the home link goes to the home page and shows the Main TOC
    However when I call a page using context help ID I get a single frame with the selected page. The link to show the TOC shows the TOC but it is the top of the merged project and not the master TOC. The home link in the does display the home page but again the displayed TOC is the one of the current merged project.
    The question is :
    How can I get the Master TOC to show all the time regardless of what page I call using a context ID or how can I create a link that will take me back to the Master TOC?
    I remember when I created a previous help file for chm output I had to modify all the ali files in order for the redirect to work throught the master chm. Surely this is not the case with webhelp?
    TonyC

    I am sorry that I didn't get back to all you guys that took to answering my very promptly. Unfortunately I was not in a position to answer to the suggestions made. as I was away from my computer which had Robohelp on.
    Anyway, I did try a couple of scripts mentioned, but didn't really have any success i achieving what I need to do.
    I set up a redirect which redirected to the main home page. I tried setting the home page in a  main sub-project - so the redirect when from any sub project
    Generate
         Master-project.htm (Home Page = Help_Welcome.htm)
    merged Projects
    SubProject1
                [Home Page =  home_redirect.htm (a redirect see below) ]
         SubProject 2
                [Home Page =  home_redirect.htm (a redirect see below) ]
         SubProject 3
                [Home Page =  home_redirect.htm (a redirect see below) ]
    home_redirect.htm  (a redirect use by sub-topics)
    <!--
       window.location="../../ Help_Welcome.htm ";
    //-->
    //]]></script>
    This setup works fine as long as I call the master page. The TOC is as I would want. However if I call an ID from my application I get the required page to display and I can get the TOC to show. The problem is that the TOC is from the current sub-project and not the master project as I would want.

  • How do you display the marker values LabVIEW has chosen for a slider with uniformly spaced markers?

    I am trying to set up a slider in a program to control an instrument.  For the most part, using uniformly spaced markers and just setting the slider's (and scale's) min and max values with a property node works well.  However, for some sets of extrema for the slider, the last two marker values are very close together.  I tried making a sequence where I: Set mins and maxes in frame 0, Get the marker values in frame 1, Go thru them and make sure the last two are not too close together in frame 2, and re-set them in frame 3.  However, the marker values that come out of the property node when I try to get the ones set by Labview seem to be the default for the slider, rather than the new ones Labview figured out.  If there was only a few ranges for the slider, I'd just majually set the marker values.  However, there are multiple configurations for the instrument, and thus multiple ranges for the slider, including custom ones.  Any help would be appreciated.  Thanks.

    What I mean is that after Labview automatically picks the markers, I tried to use a property node to view the markervalues[] array.  That array, however, appears to be the default for the slider.  A picture is included of what I mean by having two values too close together.
    Attachments:
    sliderissue.jpg ‏12 KB

  • How can I include the Frame Number  when using "Export Frame"?

    Im using the button at the bottom right of the Playback Control Panel called "Export Frame".  This does exactly what I need but I have a lot of frames that need single frame exporting. How can I get the file name to automaticly include the frame number at the end of the file name? 
    For example, instead of it displaying "Sequence 01.Still001"  by default.  I would like for it to display "Sequence 01_0001"   Letting me know that is frame 0001.
    This is possible, correct?

    Well what about in the export option using CTRL + M?  I saw a coworker using this method in an older version of Premiere, but we can't enable it on CS5.5.  Being able to export a single frame as a bmp that has the frame number at the end of the file name.
    Example:
    Output Name: Sequence 01_0001.bmp
    Under Video Basic Setting is:
    Export As Sequence UNCHECKED
    Field Type: Progressive
    Frame number still doesn't show at end of file name.  What are we missing?

  • How to retrieve BASIC-auth username value when using JDBCRealm constraint?

    I have a web application that uses a JDBCRealm security constraint configured as thus in my server.xml and web.xml for the context:
    http://pastebin.ca/41635 (pastebin'ed to be brief)
    After a user enters their BASIC credentials, how can I retrieve the username they logged in with?
    For example, I have in mind something like this that I want to display in my JSP in the application:
    Welcome back, <% out.print(request.getAuthUsername()); %>!
    But there doesn't seem to be a ServletRequest method in the API to get this information.
    Is this possible?

    Answer:
    <c:out value="${pageContext.request.remoteUser}"/>

  • How can I increase the thumbnail size when using Safari to upload an image to a website?

    I upload many images to multiple websites and when using Safari to upload these images, the thumbnails are so small I can barely make out what the image is. I can easily figure out how to increase the thumbnail size when viewing them in Finder and set the default to my liking, but I cannot seem to find a way to do this in Safari. The last topic I saw on this was form 2013 and have not seen any update. Is there a way to do this?

    Delete all unused, invisible layers.
    Sometimes zip compression is better than jpg compression (in the pdf output settings). Zip is lossless, and works better with non gradient colour or no images.
    Flattening the image before you save it to pdf can reduce the file size if you are using jpg compression.
    Post a preview of your pdf and we can comment further on how to reduce the file size.

  • How can I make the data persistent when using plist ?

    I have a UITableView table1. And when I touch any cell in the table a new UIViewController appears and it have two UITextField's name and description. After entering the data in both the text fields I used the save button to save them. In save method I wrote the code for the data to be stored in plist.
    -(void)save:(id)sender
    indexOfDataArray = temp;
    NSString *string1 = [[NSString alloc]init];
    NSString *string2 = [[NSString alloc]init];
    string1 = nameField.text;
    string2 = descriptionField.text;
    NSDictionary *myDict = [[NSDictionary alloc] initWithObjectsAndKeys:string2, string1, nil];
    [myArray addObject:myDict];
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *documentsDirectory = [paths objectAtIndex:0];
    NSString *path = [documentsDirectory stringByAppendingPathComponent:@"VideoData.plist"];
    [myArray writeToFile:path atomically:YES];
    UIAlertView *alertMesage = [[UIAlertView alloc] initWithTitle: @"Save Alert" message:@"The data entered is saved" delegate:nil cancelButtonTitle:@"cancel" otherButtonTitles:nil] ;
    [alertMesage show];
    [alertMesage release];
    [myArray retain];
    But the problem is every time I restart my application the data in the plist is deleted. How can I retain the data in the plist name I specified ?

    I think yes, I am specifying only one file name to store in the path. I understood my where I am wrong.
    If I added data in plist for two items(item1 and item2). And again I need to add next two items(item3 and item4) . How can I make item3 and item 4 do not replace item1 and item2 ?
    Thank You.

Maybe you are looking for

  • N86 8mp Radio Transmitter problem

    Hello I have an N86 which I've been using since 2 month ago and now suddenly the Fm Transmitter wont transmit music. I can only get Nokia prodcasted on my radio but no sound of the music! Please help I've sent it to repair and they returned it and sa

  • Browser options?

    Can't get any response in the internet forum on this one so mabey you guys can help; a local toll road web site in my area doesn't work well in Safari or Firefox. What do you guys recommend as an alternate browser that might help?

  • Install SOA Suite 10.1.3.1 fails with a 'Unable to create home "oracleas1"

    each time I try to install in shows this error: Unable to create home "oracleas1" at "C:\product\10.1.3.1\OracleAS_1". There are existing homes with the same name and the same location. I previously had the preview release on this machine, but I unin

  • Cannot install J2SE on debian

    Hi All, I have a Debian box, and tried installing J2SDK-1_4_2 on it, but in vain. I downloaded the j2sdk-1_4_2_09-linux-i585.bin and followed the installation instruction but when i issue ./j2sdk-1_4_2_09-linux-i586.bin I get an error stating bash: .

  • Why I can't repair the disk in disk utility?

    I am trying to repair the disk in disk utility and the repair gets interrupted by a message saying that there is a node structure and there was an error on the exit task. What should I do to get this fixed?