Parameter to pull all numeric values

I'm using Report Builder 3.0, 2008 R2.
I have the following column in my dataset:
Range = Left(City,1)
...the results are null, numeric, and alpha values.
In the parameter (@CityRange), I have values from A - Z...but I want to add another to pull all the non-alphabetic range. 
How do I do this?  I attempted something similar to the "all" parameter but failed.
Any help is appreciated. Thanks.

Hi AzuDaioh,
If I understand correctly, you want to pull all values returned by Range to a parameter, then use this parameter to filter something. If in this scenario, we can add a calculated field to the dataset, then use the field values as the parameter available
values. For more details, please refer to the following steps:
Right-click the dataset to Add a Calculated Field with the expression below:
Field Name: para                                          
Field Source: = Left(Fields!City.Value,1)
Set the Available value of the parameter to the para field of current dataset.
If you still need split the parameter to two parameters, one for alphabetic range, another for non-alphabetic range. We can specify 0-9 and “ ” values as the Available values of the second parameter.
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Parameter List displaying all the values on Parameter form

    Dear All...If I uncheck the "Restrict List to predetermined values" option, then report parameter form displays all the values on web parameter form instead of displaying those values in the List Item. Is it the Default behaviour of Oracle Reports 10g or Can I control it anyway because if I've 1000 entries in a list, then displaying all those values openly on the form is an ugly thing and it increases the size of parameter form very much.

    Hello,
    A solution is provided in the Note :
    Note.465886.1 How to Implement an Alternate Solution to Unrestricted List Of Values (LOV) in Parameter Form on the Web:
    regards

  • Bug in sort of numeric values in ( title and album ) string.

    The Bug in the sort-function of the iPod results in mixed up track list.
    An album with more then 9 tracks will be sorted in the wrong way, when only title or filename or album field is just to give a track a number. The play order is 1, 10, 11, 12, 13, 2, 3 , 4 , 5, 6.... instead of the correct order 1,2,3,4,5,6...10,11, 12...
    For example: After playing the track named "The Beatles - Yellow Submarine - 1 - Yellow Submarine" the ipod will play "The Beatles - Yellow Submarine - 10 - Baby, You´re A Rich Man" instead of "The Beatles - Yellow Submarine - 2 - Hey Bulldog."
    The programmer have to search the string for numbers and join all numeric values to a single number.
    Example: Sample data :abc123. is "a" a number? no. is "b" a number no. is "c" a number no. is "1" a number? yes. store. is "2" a number? yes. join to "1". (now we have "12"). is "3" a number? yes. join to "12". (Now we have "123") -> EOL
    Is "123" largen than "99"? yes! is "123" larger than 124. no!
    Thats it. In perl you need 1 line of sourcecode, in c and c++ this can be done in 10 lines. In java (there a objects for this type of sort).
    And every user will be happy and nobody has to do the 01, 02, 03 workaround or reimport their audiobooks.
    Alternativly Apple should thing about storing the original filename in the ID3 tag or itunes database. This would make sorting the files without id3 tags (believe me or not, there are many people using mp3 for 10 years and have no id3 tags in there mp3-library) in itunes possible. (there is a god free tagger for mac os but no for windows.)
    A company like Apple should have the ability to correct the error / bug in the iPod-firmware (have the same issue in classic and iphone) or itunes-softwar.
    This is a wellknown and very common error done by newbie programmers or people who have not read the documentation of the software-libraries.

    I still have an H140 in the cupboard. As I recall that needs leading zeros on filenames to sort properly. Since both WMP & iTunes include leading zeros it was never really an issue. THE Rename should be able to extract the track numbers from part of the filename and is also able to generate counters, along with the usual functions of setting tag fields from part of the file and/or folder name. Unfortuanetly THE Rename is still on the complicated side - I suspect there would be no easy way to lump together the variety of options that it has while keeping it very simple.
    Once you've used an external program to adjust the tags you can make iTunes re-read them just by selecting the group of files in question, using CRTL-I to "Get Info." and then clicking OK +without making any changes+. iTunes will recheck it's database against any values in the tag and update as required. Given the lack of existing tags I would imagine that you don't let iTunes reorganise your music at the moment and would suggest you keep things that way at least until you are sure that all the tags have been correctly applied and you have a suitable backup. I stick to a Artist/Album/## Track structure which I don't let iTunes manage so that I can always recover details from the filesnames if I should ever accidentally edit more tracks than I intend.
    tt2

  • Numeric Value rounding problems in Materialized Views

    All numeric values are getting rounded in the materialized views. Is there any solution for this?
    Any help is greatly appreciated...
    Thanks,
    Satya

    Hi Bill,
    Actually the problem is with the Toad version I'm using, it is not interpreting the decimal values of MVs properly. They look good when I checked in SQLPLUS.
    Any way, thanks for your response.
    -Satya

  • Validation To check numeric value

    BEGIN
    IF :P3_TOTAL_AMOUNT >= :P3_NET_AMOUNT THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    END;
    The function returning boolean should compare total amount and net amount and through error if it less than net amount.
    It works fine when the value of TOTAL amoun =365 and value of net amount = 364*(if it is all numeric value and no zero behind it)*
    But the problem is
    when is use Total amount = 9 and net amount = 100 (It doesnt works becuse it just takes 1 from the net amount and eliminates the zeros behind the 1(100) and it doesnt comes up with a error after validation )
    Is there any one who can help me with this
    Thanks,
    Hary

    Lev,
    I'm not sure I follow. If you use to_number with a format mask and the user doesn't follow your mask, you'll get an error:select to_number('1000','999G990') from dual;This throws an "ORA-01722: invalid number" exception. That's why I say to try calling to_number without a format mask first, to handle the trivial case of the user not putting in the grouping separators (or whatever else is involved in your format).
    You could, of course, put in a validation to make sure that the number follows the format you're expecting before you convert it (either for further validation, as in the original post, or for processing), but then you have multiple places where the format mask is specified--not to mention the annoyance for users when they put in a number only to be told that they need to use the appropriate grouping separators as well. My solution uses the data dictionary to get the format mask assigned to the page item and feeds that to to_number; if I change the page item's format mask, all of my processes automatically handle the new format. Because of the extra lookup, it's slightly slower than hard-coding the format mask, but that should be minimal as long as you don't use it in a where clause.
    -David

  • Guid Downloading Character field with numeric value

    Hi All,
    I am downloading one table through gui_download, file type is asc. While downloading the internal table contains one field
    w_lif(20) type c, which contains the value '1234545567' all numeric value, now in excel it is displaying as exadecimal , here i need to convert the type of the column in excel to see the actual value.
    could you please tell me ,  how to get actuall value directly to excel
    your valuable help is appreciated.
    Regards,
    Siddivinesh Jogu

    Hi,
    You can try the File Type as DBF. This retains the format of all the columns as Data.
    Please let me know if this help,
    Regards,
    Janani

  • OBIEE 10g answer or dashboard parameter default to all values.

    I have an answer report with one parameter "branch", which has multiple values. I build a dashboard which includes the answer report. I want the dashboard to have default branch to all values. How can do that? I tried in answers to set an filter to all branches but in the filter how can I select all choices? I can choose each item of course but there are more than one hundred values (branches). I see there are value, sql expression, variable for the filter, I tried sql expression but don't know the syntax for all values.
    Thanks.

    'All Column Values' as in 11g is ==  'All Choices' as in 10g
    you should not distracted by the above just try to grab the logic (ie your aim)
    do not distract and just aim
    if not clear have fun and just ignore all my messages

  • TWO NUMERIC VALUES TO ONE PARAMETER

    If i have a field that 2 numeric values that make up 1 parameter string selection as follows
    CASE WHEN ORPRTY IN (1,2) then 'MISSY'
    WHEN ORPRTY IN (6,7) THEN 'PETITE'
    WHEN ORPRTY IN (3,4) THEN 'WOMENS'
    how do i get the parameters to use 1 or 2 = petite?
    in other words
    if field in 1 or 2 then retreive petite but only display the value 1x in the drop down in the viewer?

    this has been resolved by creating a formula in the selection criteria by creating a formula to capture the multiple values

  • Numeric value and scientific notation

    Hi,
    with Oracle 8 or 10, the query (via TOAD or my app : Delphi + BDE)
    SELECT 0.0008 FROM DUAL returns 0.0008,
    but the query
    SELECT 0.00008 FROM DUAL returns 8E-5.
    Is there a way to avoid this display in scientific notation, except changing all my queries ? Or to push the limit for this display one digit later ?
    Maybe with an Oracle parameter ?
    Thanks for your help !

    duplicate for thread
    numeric value and scientific notation

  • How to pull a max value/first value for duplicates in a group in a query?

    Hi everybody,
    [Oracle 10g]
    I'm working with two tables, tblPatient and tblProgressNotes. The fields I'm working with are:
    <pre>
    <li>tblPatient.PatientID</li>
    <li>tblPatient.EpisodeNumber (this tracks the number of hospital visits)</li>
    <li>tblPatient.DischargeDate</li>
    <li>tblProgressNotes.Height</li>
    <li>tblProgressNotes.Weight</li>
    <li>tblProgressNotes.Girth</li>
    <li>tblProgressNotes.EntryDate</li>
    <li>tblProgressNotes.EntryTime</li>
    </pre>
    From the fields above, I need to pull the most recent episode for each patient and each unique entry date so I can collect the height, weight, girth, and chart the plots on a graph. The problem I'm running into, though, is that there may be multiple entries on a given day. I can get the most recent episode for each patient with a "WHERE tblPatient.DischargeDate Is Null," but I'm not sure how to pull just the unique dates for each patient.
    For instance, if I have the following:
    <pre>
         <u>PatientID EpisodeNumber EntryDate EntryTime Height Weight Girth</u>
    1 1 01.01.13 1:03 PM 66 185 35.5
    1 1 01.01.13 7:18 PM 66 184 36
    1 1 01.07.13 8:57 AM 66 190 36
    1 1 01.07.13 11:32 AM 66 189 35.5
    </pre>
    For the first two records, I only want to return one record on 01.01.13. What I would really like, if there is more than one entry on a single day, is to take the average of the height, weight, and girth entries for that day and return a single record (I don't need the time entries, but I included them initially for testing). So, this is what my desired output would look like:
    <pre>
         <u>PatientID EpisodeNumber EntryDate Height Weight Girth</u>
    1 1 01.01.13 66 184.5 35.75
    1 1 01.07.13 66 189.5 35.75
    </pre>
    If it's not possible to write a query like the above, then I would like to take the first entry for each day where there are multiple entries on that day. So, this would be the desired output (I included the EntryTime again so you can compare to the original example):
    <pre>
         <u>PatientID EpisodeNumber EntryDate EntryTime Height Weight Girth</u>
    1 1 01.01.13 1:03 PM 66 185 35.5
    1 1 01.07.13 8:57 AM 66 190 36
    </pre>
    Thanks for your help.

    Hi,
    987019 wrote:
    Here's some sample data:
    CREATE TABLE TBLPATIENT
    PATID VARCHAR2 (20),
    EPISODE_NUMBER DOUBLE,
    DATE_OF_DISCHARGE DATE
    CREATE TABLE TBLPROGRESSNOTES
    PATID VARCHAR2 (20),
    EPISODE_NUMBER DOUBLE,
    DATA_ENTRY_DATE DATE,
    GIRTH VARCHAR2 (5),
    HEIGHT DOUBLE,
    WEIGHT DOUBLE,
    Thanks. I had to make some changes to get it to run:
    CREATE TABLE TBLPATIENT
            PATID               VARCHAR2 (20),
            EPISODE_NUMBER           BINARY_DOUBLE,     -- There's no DOUBLE data type in SQL
            DATE_OF_DISCHARGE      DATE
    DROP TABLE     tblprogressnotes;
    CREATE TABLE TBLPROGRESSNOTES
            PATID          VARCHAR2 (20),
            EPISODE_NUMBER      NUMBER,          -- Most people use NUMBER for all numeric types
            ENTRY_DATE      DATE,          -- DATA_entry date is a good name, too, just be consistent
            GIRTH           NUMBER,          -- Can't average VARCHAR2s
            HEIGHT          NUMBER,
            WEIGHT           NUMBER          -- no comma here
    INSERT INTO TBLPATIENT VALUES (1, 1);
    INSERT INTO TBLPATIENT VALUES (2, 1);
    // For the first 3 records, the height stays the same, but the girth and weight values are variable on the same day
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/01/2013 00:00:00', 'MM/DD/YYYY HH:MM:SS'), 36, 66, 184);
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/01/2013 00:00:00', 'MM/DD/YYYY HH:MM:SS'), 35.5, 66, 185);
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/01/2013 00:00:00', 'MM/DD/YYYY HH:MM:SS'), 35, 66, 184.5);
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/18/2013 00:00:00', 'MM/DD/YYYY HH:MM:SS'), 36, 66, 187);
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/31/2013 00:00:00', 'MM/DD/YYYY HH:MM:SS'), 36.5, 66, 190);
    // For the last 3 records, the girth and height stay the same, but the weight is variable on the same day.
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/03/2013 00:00:00', 'MM/DD/YYYY HH:MM:SS'), 32, 66, 137.5);
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/08/2013 00:00:00', 'MM/DD/YYYY HH:MM:SS'), 32.5, 66, 138);
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/19/2013 00:00:00', 'MM/DD/YYYY HH:MM:SS'), 31, 66, 134);
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/19/2013 00:00:00', 'MM/DD/YYYY HH:MM:SS'), 31, 66, 133.5);
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/19/2013 00:00:00', 'MM/DD/YYYY HH:MM:SS'), 31, 66, 134.5);
    INSERT INTO TBLPATIENT VALUES (1, 1, NULL);
    -- If the table has 3 columns,     ^^^^^^  INSERT 3 values (or say which columns you're INSERTing)
    INSERT INTO TBLPATIENT VALUES (2, 1, NULL);
    // For the first 3 records, the height stays the same, but the girth and weight values are variable on the same day
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/01/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 36, 66, 184);
    --                                                             MM = month  ^^            ^^ MI = minutes
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/01/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 35.5, 66, 185);
    --                                                         Hour 00  ^^  not valid for HH   ^^^^  use HH24 instead
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/01/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 35, 66, 184.5);
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/18/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 36, 66, 187);
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/31/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 36.5, 66, 190);
    // For the last 3 records, the girth and height stay the same, but the weight is variable on the same day.
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/03/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 32, 66, 137.5);
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/08/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 32.5, 66, 138);
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/19/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 31, 66, 134);
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/19/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 31, 66, 133.5);
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/19/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 31, 66, 134.5);This seems to be different from the sample data you posted earlier. You didn't say what results you want from this data, so I don't know if this gets them or not:
    SELECT
            P.PATID,
            P.EPISODE_NUMBER,
            P.DATE_OF_DISCHARGE,
            M.ENTRY_DATE,
    --      M.ENTRY_TIME,          -- Not needed (not present in simplified sample data, anyway)
            AVG (M.GIRTH)     AS avg_girth,             -- AVG added
            AVG (M.HEIGHT)     AS avg_height,
            AVG (M.WEIGHT)     AS avg_weight
    FROM
            TBLPATIENT P LEFT OUTER JOIN
            TBLPROGRESSNOTES M ON
                    (P.PATID = M.PATID) AND
                    (P.EPISODE_NUMBER = M.EPISODE_NUMBER)
    WHERE
            P.DATE_OF_DISCHARGE IS NULL AND
            M.ENTRY_DATE BETWEEN (SYSDATE - 60) AND SYSDATE AND
            M.HEIGHT  != 0 AND        -- This site won't display the other inequlaity operator
            M.WEIGHT  != 0
    GROUP BY               -- GROUP BY clause added
            P.PATID,          -- Includes all columns from the SELECT clause that
            P.EPISODE_NUMBER,     --      are not aggregated
            P.DATE_OF_DISCHARGE,
            M.ENTRY_DATE
    ORDER BY
            P.PATID,          -- No column called patIENTid
            M.ENTRY_DATE
    -- ,    M.ENTRY_TIME
    ;As you can see, it's very close to what you posted, and to what I suggested earlier: use AVG on the columns that you want to average, and GROUP BY the other columns. I marked all the places I changed with in-line comments.
    Since the hours, mintues and seconds of entry_date are always 00:00:00, then there's no need to use TRUNC (entry_date). Using it unnecessaily won't change the results, it will only waste a little time.
    By the way, if you omit the hours, minutes and seconds in TO_DATE, they default to 00:00:00, so you could make the insert statements a little simpler like this:
    INSERT INTO TBLPROGRESSNOTES VALUES (1, 1, TO_DATE('01/01/2013', 'MM/DD/YYYY'), 36, 66, 184);Output fro the query above:
    `     EPISODE
    PATID _NUMBER DATE_OF_DI ENTRY_DATE  AVG_GIRTH AVG_HEIGHT AVG_WEIGHT
    1           1            01/01/2013       35.5         66      184.5
    1           1            01/03/2013         32         66      137.5
    1           1            01/08/2013       32.5         66        138
    1           1            01/18/2013         36         66        187
    1           1            01/19/2013         31         66        134
    1           1            01/31/2013       36.5         66        190

  • Handling numeric values with OCI8

    What's the best approach to handle numeric values (more specifically, decimal and floating point values) obtained with oci_fetch_assoc() and the like? I've set NLS_LANG to SPANISH_SPAIN.WE8ISO8859P15 because I want to store Spanish language data using the ISO-8859-15 charset but that has the side effect of making SELECT 3.14 FROM DUAL become *"3,14"*. I can think of several solutions:
    * Avoid PHP type juggling; instead, write a custom PHP function to parse formatted floats from strings
    * Set NLS_LANG to SPANISH_AMERICA.WE8ISO8859P15
    * Use PEAR MDB2 abstraction layer, which apparently ignores NLS_LANG
    ... but they all look like newbie workarounds...
    The server runs Oracle 10g.

    Alvaro, you can pick and choose decimal separator and group separator. The parameter is NLS_NUMERIC_CHARACTERS. Here is how it works:
    SQL> alter session set NLS_NUMERIC_CHARACTERS=',.';
    Session altered.
    SQL> select 3+1/7 from dual;
    3+1/7
    3,14285714
    SQL> alter session set NLS_NUMERIC_CHARACTERS='.,';
    Session altered.
    SQL> select 3+1/7 from dual;
    3+1/7
    3.14285714
    If you don't want to do it through Oracle, PHP has pre-defined NumberFormatter class, described here:
    http://hr.php.net/manual/en/class.numberformatter.php. There is also a very useful class for the international date formats but that's another story.

  • Converting char to numeric value

    I have table with social security no. but application does not
    have any validation for data so i get all different kinds of
    data like...
    123-24-0988
    123458900
    n/a
    N
    f234-90-8877
    12 345 6789
    Now i want to remove all '-' and alpha char from value and just
    want to remain only nuemric characters so i can use it as where
    parameter.
    Is their any function that i can use for this or any other logic
    that i can use for this?
    Thanks

    As demonstrated in a previous discussion regarding checking for
    numeric values, translate does not produce the proper results
    when you translate it to a null value. However, you can achieve
    the desired results, by translating to spaces, then replacing
    the spaces:
    UPDATE table_name
    SET ssn = REPLACE (TRANSLATE (LOWER
    (ssn), 'abcdefghijklmnopqrstuvwxyz- ', ' '), ' ', '');

  • Looking for help with javascript to autofill checkboxes based on a numeric value.

    I have a numeric field that I would like to have 1 - checkbox
    out of five autofilled based on a numeric value.
    For instance the numeric value is TotalPoints
    If the TotalPoints Value is >10 autofill this checkbox
    If the TotalPoints Value is 10 - 19 autofill this checkbox
    If the TotalPoints Value is 20 - 49 autofill this checkbox
    If the TotalPoints Value is 50 - 69 autofill this checkbox
    If the TotalPoints Value is 70+ autofill this checkbox
    Assistance in writing the correct script for this would be greatly appreciated.

    All the checkboxes have separate names. 
    Check box #1 is AssetClass.0 with the export value of 1
    Check box #2 is AssetClass.1 with the export value of 2
    Check box #3 is AssetClass.2 with the export value of 3
    Check box #4 is AssetClass.3 with the export value of 4
    Check box #5 is AssetClass.4 with the export value of 5
    Score and StrategyUse the following calculation to determine your point score and indentify the appropriate strategy listed below.A. Add your points for questions 1 – 2.
    B. Add your points for questions 3 – 12.
    C. Subtract B from A. (Numeric Text Box)  name is TotalPoints
     Points Strategy Asset Class Mix (check boxes as named above)
     0 – 10 Primarily Fixed Income: 80% Fixed Income; 20% Equity
    10 – 19 Balanced Fixed Income-Oriented: 60% Fixed Income; 40% Equity
    20 – 49 Balanced Equity-Oriented: 40% Fixed Income; 60% Equity
    50 – 69 Primarily Equity: 20% Fixed Income; 80% Equity
    70+ Equity: 95%; 5% Cash 

  • Popup Key LOV, NULL and "Invalid numeric value undefined for column"

    Hello.
    I've created an item based on database column of NUMBER type and set the following properties:
    Display As = Popup Key LOV (Displays description, returns key value)
    List of values definition=select 'display_value' d, 1 r from dual
    Null display value=%
    Null return value=
    Display Null=Yes
    When I select "%" in the LOV and try to apply changes to database I get error:
    ORA-20001: Error in DML: p_rowid=1781, p_alt_rowid=N1, p_rowid2=, p_alt_rowid2=. ORA-20001: Invalid numeric value undefined for column N2
    Error Unable to process row of table TTT.
    If I set Display As = Select List, all works fine. But I need Popup Key LOV.
    Could anybody help me?
    I use Application Express 2.2.1.00.04

    Hi all,
    I did my homework and solved this issue. First I would like to thank Patrick Wolf for the invaluable help he gives out on thread Re: Null value handling in LOVs The code presented here is just a minor edit to his code, but an essential one when dealing with Popup Key LOV items.
    Here's what I did:
    1. Create an Application Process.
    Name: RemoveNulls
    Sequence: 0
    Point: On Submit: After Page Submission - Before Computations and Validations
    Process Text:
    BEGIN
        FOR rItem IN
          ( SELECT ITEM_NAME
              FROM APEX_APPLICATION_PAGE_ITEMS
             WHERE APPLICATION_ID   = TO_NUMBER(:APP_ID)
               AND PAGE_ID          IN (TO_NUMBER(:APP_PAGE_ID), 0)
               AND LOV_DISPLAY_NULL = 'Yes'
               AND LOV_DEFINITION   IS NOT NULL
               AND LOV_NULL_VALUE   IS NULL
        LOOP
            IF (V(rItem.ITEM_NAME) = '%null' || '%' OR V(rItem.ITEM_NAME) = 'undefined')
            THEN
                Apex_Util.set_session_state(rItem.ITEM_NAME, NULL);
            END IF;
        END LOOP;
    END;Error Message: #SQLERRM#Condition: None
    2. You should be able to submit a Popup Key LOV with a NULL value now.
    Once again, THANKS, Patrick! You rock! I'm seriously thinking of trying ApexLib now :)
    Georger

  • Get all the values from a multiple select in a multipart form

    Hi there!
    I am using a form with enctype="multipart/form-data" in order to upload files from the form.
    I have read this page: http://commons.apache.org/fileupload/using.html and everything works well for my form.
    The only problem is that I can't get all the values from a "multiple select" html object. I get only one value.
    Using servlets I have used this method:
    public java.lang.String[] getParameterValues(java.lang.String name) But now I have enctype="multipart/form-data" in my form and I can't use this way...
    Is there a way to get all the values of a multi-valued parameter?
    Thanks a lot!
    Stefano

    Hi
    I have got solution for this problem so, I am listing here logic
    assume tag name of html
    <select name="moption" multiple="multiple">
    iterate it in as
    String moption="";
    boolean cnt=true;
    while(itr.hasNext())
    FileItem fi=(FileItem)itr.next();
    if(fi.isFormField())
    if(fi.getFieldName().equals("moption"))
    if(cnt==true)
    moption=fi.getString();
    cnt=false;
    else
    moption=moption+","+fi.getString();
    If wants more help then mail me your problem
    at [email protected]
    Thanks!
    Anand Shankar
    Edited by: AnandShankar on 6 Nov, 2009 12:54 PM

Maybe you are looking for

  • Mobility Radeon 7500 OpenGL issues

    Whenever I attempt to use anything involving openGL, my CPU usage hits 100%. Complex openGL programs will drop to a framerate of less than 10, and sometimes crash Xorg.  How can I fix this? General system info: lspci 00:00.0 Host bridge: Intel Corpor

  • Message at the variable screen

    Hello, I would like that message pops up at the variable screen during the execution of the report. How can I implement this functionality? Thanks

  • How to generate emails using Chinese Characters with the Iphone 4s?

    Hi, I just got my Apple IPhone for the first time. Anyone knows how to compose an email in Chinese using the IPhone? -Arthur

  • What Type of mouse to use?

    Can anyone tell me what is a good mouse that works well with CS5? Or are they all the same?

  • Question regarding Repeating Frames...

    Hi I've been using Oracle Reports for a short time. I am trying to accomplish something within a repeating frame but can't seem to get it to work. The results I receive from my SQL query are in the form of a month associated with a numeric value. The