How to see values (null, 0) instead of blank fields

Hi.
I search the forum but only found messages about users who want to show fields blank, when value is null.
I have the problem other way around. I work with DevSuite 10g and have a xml-Report.
I have fields and for some the query returns null (no value). Than the report shows nothing for this fields. Neither a blank line nor a value like 0.
The problem is, that the other values afterwards the blank ones, slip above.
For Example:
field 1
field 2
field 3
field 4
The Query returns null for field 2 and 3.
Then on the report I see:
field 1
field 4
But what I want to see is:
field 1
field 4
or:
field 1
0
0
field 4
But all I tested doesn´t work. I set a value for "when null" in the attribute inspector and the horizontal elasticity of "fix" (I thought it maybe it "slip together" so it is not shown).
Has anyone a idea how I can show a (blank or 0 value) instead of nothing, so that fields afterwards doesn´t slips up?
Thanks for your suggestions
Message was edited by:
ulfk

Hej MLA.
I think it was from query, but it is anyway if it is from query or from form (it´s not from column).
@Brad
Thanks for your suggestion.
We solve this problem in a similar way.
We put a field under/over the other. We give the field we want to show a white background. So it is "sitting" over the other and the underlaying one is not shown (because the overlaying one has a white background).
If the overlaying one is blank it is not shown (so it can´t has a white background) and we see the underlaying field.
But to use triggers is a better solution.
I solve it on the same way as explained above but using triggers also.
But I have to leave a statement about Oracles Report Builder. Sorry but it is more than horrible program. I never have seen such a (also new and) bad programmed program. It is more than hard to work with it ... it cost me every hour I use it more and more power to stay quite ...
Here are the things I really wish to change at reports bulder directly:
- more than one step back (undo)
- there is a difference between the output in reports bulder on the paper output, what is shown when you print it on a paper (from reports bulder) and from what is shown in a PDF file produced with a reports server (that is really annoying, you never now if it is correct what you see in reports builder!)
- better editing and better selectable of the text-boxes and fields
- a way to hierarchically objects that are on the same layer (frame) so that you can really bank on it, that one object is ever behind another one
- not only moving and scaling of fields and boxes on a fix gutter (free transforming and moving would be great) because sometimes a text or a box with line around is not on the right place (out of order; above another object/text a.s.o.) and when it is (why I don´t really know) is not on the right place and the distance to the other object is less than the fix gutter-distance you can´t move it in such a way, that the two objects are flush with/on a fix line/place. It´s because the fix gutter. The distance is lower than the gutter, if you move it, it is not makeable to move it this less-than-the-gutter-distance to be flush with the other object. You can only move it in the fix gutter-distance and than it can´t be flush with the other objects.
It looked really bad and amateurish!
- a tool (a button or something) where you can marked object to flush all together on the same line, so that all objects for example are flush together on one start-line or ends (horizontal or vertical flush).
It would be great and would the work so really easier and better.

Similar Messages

  • How To See Numbers In Arabic Instead Of Indian Format

    I want to see numbers in Arabic format not in Indian format when i log on the Arabic Interface .
    I have EBS (12.0.6) installed on Linux centos , I have implement the below Oracle Metalink Note to solve this issue
    How To See Numbers In Arabic Instead Of Indian Format [ID 785243.1]
    I installed all the patched mentioned in the note (Apply forms version 10.1.2.2.0 with the forms patch 7488328 , Apply patch 7207440:R12.TXK.A , Apply patch 7601624 - NEW PROFILE OPTION: FORMS DIGIT SUBSTITUTION)
    These patches add the Profile option (FORMS DIGIT SUBSTITUTION) , but when i try to used it has no effect at all .
    So kindly if you have any idea about this issue please help me.
    Regards
    Fadi Lafi

    Hi,
    These patches add the Profile option (FORMS DIGIT SUBSTITUTION) , but when i try to used it has no effect at all .At what level you have set this profile option?
    So kindly if you have any idea about this issue please help me.Have you bounced the application services after setting this profile option? If not, please do so, login again and see if it works.
    Thanks,
    Hussein

  • How to display values and new char line (blank line)

    Hi,
    In database, one field contains values followed by new character lines (blank lines) after blank lines there is no values. Finally, I would say the field contains values and blank lines. Every thing is fine in database.
    In Crystal Reports the field is displaying only values. Need to display values and blank line.
    User is asking after values new character lines (blank line) to be shown. They enter like that in an application. The user doubt is why report is not showing what they enter in the application.
    In detail explanation, front end tool is ASP.NET and backend is SQL Server.
    User enter some values in note field, after that they hit enter button in the same field, cursor will go next line...user may hit u2018enter buttonu2019 more than 5 times. So note field contain values and some blank lines which are created by after hitting enter button.
    If user opens the application, they could see values plus blank lines in the note field.
    They are fine with the application.
    In Crystal Reports, the note field shows only values.
    User is questioning that why we could not see in report we enter.
    I checked in .Net application and SQL server database it is fine. It is displaying values and blank line.
    Please help me out how to display values followed by blank lines in Crystal Reports - the way they enter in the application.
    Thanks and Regards,
    Manjunath N. Jogin

    Hi,
    Sharonmat,
    I tried as you suggested. It is still displaying only values.
    I would like to explain again.
    it is not exactly null values.
    In .Net application it is called 'new char line'.
    it shows those many lines look like null.
    it is working fine in database.
    Why it is not working in Crystal Reports? I am wondering...
    Thanks for your suggestion.
    Debi,
    User may enter any number of blank lines or they may not enter blank lines.
    That is the reason I can not always give more height or blank text object.
    Thanks for your suggestion.
    Please suggest me some more suggestions,
    Thanks and Regards,
    Manjunath N. Jogin

  • How do I prevent null being shown in the field

    Hi Everyone,
    I do have a form I am done with designing using the Adobe LiveCycle 7.0, but is having problem with the backend code. Whenever you delete the value, null gets written in it and it even appears on the printout. Please, can anyone help me out with this code and tell me what I need to do to get rid of this problem.
    if (EMPLNAME.rawValue.rawValue == "" || EMPLNAME.rawValue.rawValue == null)
    EMPLNAME.rawValue.rawValue == "";
    // xfa.host.messageBox(EMPLNAME.rawValue);
    EMPNAME.rawValue = String(EMPFNAME.rawValue) + " " + String(EMPMI.rawValue) + "." + " " + String(EMPLNAME.rawValue);
    if (EMPFNAME.rawValue != "" || EMPMI.rawValue != "" || EMPLNAME.rawValue != "")
    EMPNAME.rawValue = String(EMPFNAME.rawValue) + " " + String(EMPMI.rawValue) + "." + " " + String(EMPLNAME.rawValue);
    var s = EMPMI.rawValue;
    EMPMI.rawValue = s.toUpperCase();
    Thanks
    Lucky Pianwi

    You need to check the values to see if they are null before you concatenate them:
    >FIELD.rawValue != null
    Some example code which should do what you are trying to do above:
        var lName = EMPLNAME.rawValue;
        var fName = EMPFNAME.rawValue;
        var initialName = EMPMI.rawValue;
        var result = "";
        if(fName != null && fName.length > 0) {
            result = fName + " ";
        if(initialName != null && initialName.length > 0) {
            result += initialName + ". ";
        if(lName != null && lName.length > 0) {
            result += lName
        EMPNAME.rawValue = result;
    (There are shorter ways of doing this, but this way, it's pretty clear what is going on)
    You should probably also check out some Javascript tutorials. I use http://www.w3schools.com/js/ as a reference all the time but there are many others around.
    Regards
    Anthony Jereley
    Indigo Pacific
    www.indigopacific.com

  • How to see a null or empty value in JFormattedTextField

    Hello, I am having a problem. I'm trying to use a JFormattedTextField, and I keep getting errors.
    I know what is causing the error, but I don't know how to fix it.
    Here is my code:
    String cf = countFTX.getText();
    if(cf.equals(" ")) {
      i = Integer.valueOf(countJTX.getText());
    }else{ i = Integer.valueOf(countFTX.getText()); }what happens is I get an error when it goes to change it into an int. Because it see's it as being (" ") and not (" ") or even ("") so it doesn't fit into my if statement. And returns it being false, then tries to turn it into an int, and blows up there.
    Now how can I fix my if statement to be able to see if nothing was entered, and if so then use the countJTX and not the countFTX?
    countJTX is a regular JTextField, and countFTX is a JFormattedTextField.
    the JTX is filled automaticaly with an int, and if there needs to be a change, the user puts it into the FTX. (so you understand the logic behind it)
    any ideas? or should i just revert to not using the FTX?

    you need to know the differenct between NULL and "" (empty) of a string. Also both of these values cann't converted to in integer so you can not call Integer.valueOf(cf). I don't understand why you need to do that. Instead:
        String cf = countFTX.getText();
        if(cf == null || cf.length() == 0)) {
            i = ?; //something you want i to be when cf is null or empty but not call Integer.valueOf(countJTX.getText());
        }else{
            i = Integer.valueOf(cf);
        }Also, you may need to add try/catch exceptions.

  • How to see values for bind variables in statspack output

    Hi all.
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    PL/SQL Release 9.2.0.4.0 - Production
    CORE 9.2.0.3.0 Production
    TNS for Solaris: Version 9.2.0.4.0 - Production
    NLSRTL Version 9.2.0.4.0 - Production
    Running sprepsql.sql to get full sql and explain plan from hash value...
    SQL comes back with bind variables :1, :2, :3 etc.
    How can I find out what the values are for the bind variables so i can plug them in and run them in test db?
    Thanks for all your help.

    I don't have a trace file...
    I need to know what the values are and if there is anyway to see them from the output of the sprepsql...
    currently looks like:
    select
    r.status,
    NVL(r.required_date, to_date('12/31/3999', 'MM/DD/YYYY')),
    r.calc_qty,
    r.issued_qty,
    r.workorder_type,
    r.workorder_base_id,
    r.workorder_lot_id,
    r.workorder_split_id,
    r.workorder_sub_id,
    r.operation_seq_no,
    r.piece_no,
    r.warehouse_id,
    0,
    wbs_code
    from
    REQUIREMENT r
    where r.part_id = *:1*
    and r.workorder_type = 'W'
    and r.calc_qty > r.issued_qty
    and r.subord_wo_sub_id is null
    AND STATUS IN ('R', 'S','U','H','F')
    AND WAREHOUSE_ID = *:2*
    Thanks for your help.

  • How to declare value null to object at the end of jsp page.

    Hi
    I have two doubts.
    1. Im getting request from request.getParameter() method. i stored that value in one object. after process completion i have set null value to object at the end of jsp page.
    2. I declare jsp scriptlet within the javascript. in that jsp scriptlet i set session.setAttribute() values. i want to get the session.getAttribute value after javascript code completion.
    i tried but i got jasperException.
    please help me to solve this problem
    Thank u in advance

    Hai Sundaram,
    when ever u got the param from request at that time only u set the same parameter to null..
    i am not sure abt this is my idea only

  • How to add values of checkboxs to a numeric field?

    I have 5 checkbox which I assigned values to: Excellent 5 , Satisfactory 4, Needs Improvement 3 , and so on. When I check a check box , lets say the Excellent one, I want it to put the value 5 in another numeric field. How do I do this?

    Hi,
    For the checkboxes you can set the On value and the Off value. See the Object > Binding palette. You would just set the Excellent check box to an On value of 5. Then it is just a matter of adding the checkboxes together.
    See a few examples here: http://assure.ly/omsURE, http://assure.ly/uiKS6f and http://assure.ly/iitzNJ.
    Niall

  • How to default value in collection after intial collection field entered

    Hi there,
    Am working on gettting to know collections but not really had much to do with them so far.
    I have a multi row data entry screen that works great using a collection. Now the boss has decided that the new records require a default value that the users can overwrite if required.
    The value i need to default is the second field in the collection but i only want to populate the value after the first field in the collection has been entered.
    Could anyone talk me through how i do this please or point me to any relevant documents.
    Cheers
    Lisa

    Hi Lisa,
    If you want to default value only after user enters data in another row column, you ll have to write a javascript code that executes after the column is entered
    If you have jQuery(already included in apex 4.0) it would make the task of accessing that other column easy.
    Otherwise its much more harder work to get I can think of setting the ID's using the pitem_id_* while rendering the editable fields(set it for both the columns..say as COL1_ROWNUM , COL2_ROWNUM ) using APEX_ITEM. Then add an onblur event(using the html attributes parameter of APEX_ITEM api) call a JS function with the rownumber(to identify the row). You can then write the logic for default value inside the function and set the corresponding column with the value.
    If you can update about your version and/or if you use any JS libraries, it would be easier to help you any further.

  • How to assign value of one filed to another  field in reports

    Hi..
    How we can copy the One field value to another field nd how to use group by in query to generate reports.
    Reply...
    Thanks
    Neetu
    Edited by: Philip Eller on Jun 27, 2008 9:49 AM
    Edited by: Rui Pereira on Jul 8, 2008 5:26 PM

    Dear Neetu,
    If you would like to assignt he value of one field to another in PLD, you can try the following.
    1. You can link the two fields by using the property Link
    2. In the fomula field for one of the fields, just mention the name of the other field.
    For example
    You have two fields F_118 and F_180
    Scenario 1 :
    In the "Link" property of the field F_180,  choose F_118
    Scenario 2:
    In the "Formula" for the field F_180, write "F_118"
    For using group by in query, Once you have created a query with the "Query Generator" you can create the reports based on query through the "query manager".
    REgards
    Arshdeep

  • How to assign values from multiple output(cursor) to fields(line item-one below other) in forms??

    Hi all,
    I have a Form which has text_field columns as below , created from table RECEIVED_FORM_15G. This table is blank.
    1)     CUST_CODE with 1 line item. (Number of Items displayed=1)
    2)     ACCT_FD_NO with 10 line items. (Number of Items displayed=10)
    There are more than 1 ACCT_FD_NO for 1 CUST_CODE.
    When i enter the CUST_CODE and press tab, all the values of ACCT_FD_NO must get displayed. I am taking ACCT_FD_NO values from another table called KEC_FDACCT_MSTR
    and want to display ACCT_FD_NO, one below other (line item). So i put in the following code:
      BEGIN
           FIRST_RECORD;
           FOR CUR_R IN (SELECT  ACCT_FD_NO FROM KEC_FDACCT_MSTR WHERE   STAUS='E' AND ACCT_CUST_CODE=:CUST_CODE)
           LOOP
               NEXT_RECORD;
              :ACCT_FD_NO :=CUR_R.ACCT_FD_NO;
           END LOOP;
        END;
    But the problem is i'm not able to display the captured value in next consecutive line items.
    It is getting displayed in first & second line item only.
    The first value gets displayed in first line item, then the cursor moves from first line item to second line item,
    the second value gets displayed in the second line item, (this is because of NEXT_RECORD in my code)
    later all the values are getting displayed in the second line item only. (I checked it using message call.)
    I want it to display one below the other.
    The problem is the cursor is not moving to third line item after the second line item.
    So the remaining values gets displayed in the second line item only.
    So what is wrong in my code??
    Where should i place the next_record to make the cursor move from one line item to next line item i.e from second line item to third line item
    & third line item to fourth line item & so on....  Please let me know.
    Thank You.
    Oracle Forms Builder 6i
    Oracle 9i.

    The above code is right..
    The only mistake was In the property palette of CUST_CODE, "required" was not set to "Yes" .
    So after setting required to 'YES' , it worked perfectly fine.

  • How to set values to the structure containing a node with cardinality 0..n

    Hello.
    I 'm trying to set values for the node with cardinality 0..n. The node type is "Fields".
    <xsd:complexType name="Field">
       <xsd:sequence>
          <xsd:element name="fieldCode" type="xsd:string"></xsd:element>
          <xsd:element name="displayValue" type="xsd:string" minOccurs="0"></xsd:element>
       </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Fields">
       <xsd:sequence>
          <xsd:element name="field" type="tns:Field" minOccurs="0" maxOccurs="unbounded"></xsd:element>
       </xsd:sequence>
    </xsd:complexType>
    I  need to set several values for the element "fieldCode" but it has cardinality 0..1 and BPM does not allow it but I did not find any option about how to set values for the structure of type "Fields". Could you help me?
    Best regards,
    Timur Semenchuk

    Hi Marcus,
    If there is no way you could change the cardinality of the node, and thus it can contain 0..n items, I think you should create-and-add a new element programmatically.
    Since the collection can contain zero elements, I would add a 'new' button, which upon clicking adds one new element via:
    IYourNodeElement yourNodeElem = wdContext.nodeYourNode().createYourNodeElement();
    wdContext.nodeYourNode().addElement(yourNodeElem);
    Hope this explains a bit!
    Best,
    Robin van het Hof

  • How to check for null value/field?

    Hi!
    I have created a form that is designed to calculate the rows using the FormCalc function.
    My problem is that if I have no value in the some of the rows, a 0 is automatically display as the calculated output field. If a row has no data, how can I get a null or blank field in the result (calculated field) field?
    Let's say, I have 5 rows and each row should have a calculated value in one of the fields; when I fill out only two of the rows, the remaining three rows come out with 0s in the calculated output field. I need a blank output field for the remaining calculated values instead of 0s. I am a newbie so please excuse me if I am not explaining well.
    Thanks
    Jofar1

    This is the value that I have on my calculate event: "Rate*Units_of_ServiceRow2".
    How should/can I incorporate the two codes?

  • How to check for null value of output parameter?

    Hi guys, I get a test procedure with 2 output parameters and do nothing:
    CREATE OR REPLACE PACKAGE BODY p_parameters_test AS
      PROCEDURE p_null_output_basetype(p1 OUT NUMBER,p2 OUT VARCHAR2)
      AS
      BEGIN
        DBMS_OUTPUT.PUT_LINE('DO NOTHING');
      END p_null_output_basetype;
    END;And I have below C# code:
    cmd.CommandText = "p_parameters_test.p_null_output_basetype";
    OracleParameter p1 = new OracleParameter("p1", OracleDbType.Decimal, System.Data.ParameterDirection.Output);
    OracleParameter p2 = new OracleParameter("p2", OracleDbType.Varchar2, System.Data.ParameterDirection.Output);
    cmd.Parameters.Add(p1);
    cmd.Parameters.Add(p2);
    try
        conn.Open();
        cmd.ExecuteNonQuery();
        if (p1.Value==null)
            Console.WriteLine("p1.Value==null");
        else if (Convert.IsDBNull(p1.Value))
            Console.WriteLine("Convert.IsDBNull(p1.Value)");
        else
            Console.WriteLine("p1 else "+p1.Value);
        if (p2.Value==null)
            Console.WriteLine("p2.Value==null");
        else if (Convert.IsDBNull(p2.Value))
            Console.WriteLine("Convert.IsDBNull(p2.Value)");
        else
            Console.WriteLine("p2 else "+p2.Value);
        Console.WriteLine("finished");
    catch......The output of it is:
    p1 else null
    p2 else null
    Does anyone have any idea why it always goes to the 'else' of the condition-branching, and how can I check if the output parameter is null?
    Thanks in advance.

    Morven... I ran into similar problems. Maybe you've found a solution of your own by now, but here's what I've learned...
    The Value property of output parameters, like p1 and p2 in your code, actually varies, according to (I think) the OracleDbType of the parameter. You've got OracleDbType.Decimal for p1 and OracleDbType.Varchar2 for p2. These look about right, since they match the parameter types in your actual stored procedure.
    After cmd.ExecuteNonQuery() executes, the respective Value properties of p1 and p2 are actually of different types. For p1, it's going to be "OracleDecimal" and for p2 it's "OracleString". Keep in miind that these are the types of the Value property of the OracleParameter objects, not the OracleParameter objects themselves.
    OracleDecimal and OracleString (and some other types like OracleDate, etc.) have an "IsNull" property you can use if you cast the Value property to its runtime type...
    if ((OracleDecimal)cmd.Parameters["p1"].Value).IsNull) { …do something… }
    else { …do something else… }
    Or maybe something like this...
    Decimal p1val = ((OracleDecimal)cmd.Parameters["p1"].Value).IsNull ? 0 : ((OracleDecimal)cmd.Parameters["AVG_SALARY"].Value).Value;
    I'll admit that expressions like this: ((OracleDecimal)cmd.Parameters["AVG_SALARY"].Value).Value look a little weird. But the "Value" of the "OracleDecimal" property is a regular .NET decimal type (System.Decimal). So, it's a "Value" of the "Value" property of the OracleParameter class.
    Even when the stored procedure returns a null, the Value property is still populated. In the case of p1, it's populated with an OracleDecimal object (actually a struct) where IsNull is true. That's why "p1.Value==null" tests false.
    From what I can see, OracleDecimal, OracleString, etc. will never be typed as DbNull, or DBNull.Value. So, that would be why Convert.IsDBNull(p1.Value)) always returns false. btw, it appears that these are Value types. That would suggest that coding something like like this, should be avoided…
    OracleString p2val = ((OracleString)cmd.Parameters["p2"].Value;
    if (p2val.IsNull) { …do something… }
    else { …do something else… }
    By assigning the value to another variable, you’d be actually creating an entire copy of the OracleString structure, which is pointless.
    I hope that helps
    Edited by: 897674 on Jan 3, 2012 10:44 AM
    Edited by: 897674 on Jan 3, 2012 10:46 AM

  • How to see decimal part of float value?

    How to see only value of decimal part of float value?
    For example, if I have 1.455, i need only to see .455 part.

    Read the floating point value.
    Convert that into a string.
    Use the String's substring and indexOf method to find
    the "." and then cut from there, to the end of the
    string.<sarcasm>
    Really? I'm sure pbrockway already said that but i must be mistaken.
    </sarcasm>

Maybe you are looking for

  • Background process of SAP BPC 7.5 or 7.0 NetWeaver or MicroSoft version

    Hi Experts, I am new to SAP BPC NetWeaver. I want to know u2026. While creating a dimension or an application in BPC 7.5 or 7.0 NetWeaver or MicroSoft Version, what process is going on background, like what tables or what objects are created in SAP B

  • OCI-22303: type ""."DISCREPTABTYP"

    OCI-22303: type ""."DISCREPTABTYP" not found:BEGIN timeKeeper_package.discrepancy2(:unit, :startdate, :enddate, :unknown_tb, :belongWork_tb, :floatIn_tb, :floatOut_tb); END; I am getting the above error when I am running at OCI program through a web

  • Datasources in 3.X in a new BI 7.0 Business Content Activation

    Hi all, When Installing Business Content for a BI 7.0 Installation, some objects like Datasources, Transfer Rules and Communication structures are activated under 3.X format. Is there a way to install all Business Content in 7.X format, different fro

  • Entry Point Not Found "pluginutils.dll"

    Upgraded to Jabber 10.5 and now users are getting "ciscojabber.exe - entry point not found"  can not be located in the dynamic link library PluginUtils.dll.

  • Number of background sessions available

    Hello All, Please tell me - which transaction in the BW system should I go to, to view the number of background sessions available? I ask this because basis people say the have increased the number of background sessions from 6 to 8 and I want to che