Change the font of particular cell in matrix report

hi experts
i made a report in report 6i. now i want to change a color of particular cell which has shortest value. and
also i want to fill 0 ( zero ) value in blank column.
i have tried it from the property pallate " Value if Null " set to 0 (zero )
But it does not take the value.
Please solve the problem
regards
manoj

Hi,
I think it will be better if you put NVL/DECODE in your main query for this column and also having second option create one placement column and store the value of the column in this placement column based on your condition criteria.
Thanks
Shishu Paul

Similar Messages

  • I want to programmtically change the font of one cell at a time in a LabVIEW table

    I want to programmtically change the font of one cell at a time in a LabVIEW table. How would I do this. I know it is possible to change an individual cells font properties on the front panel but I want to do it via the diagram (code).

    You are able to change each cell's background and foreground (text) color, but it seems the ability to specify font information with properties is lacking in both 6.1 and 7.0.
    Daniel L. Press
    PrimeTest Corp.
    www.primetest.com

  • How to change the font in query builder window in Reports 6i?

    Hi
    I am facing the old problem again and again, which is I can not find any way to change the font in query builder window in Reports 6i. The current font is so bad for alignment and ordering each part of SELECT statement. Is there any way to change this to COURIER NEW for example?

    No, but I suggest using a different editor which does allow a different text option and just pasting it in.

  • How to change the font of a cell in an Excel spreadsheet from within LabVIEW?

    The Font property appears to be a Read-Only property and I can not find another ActiveX Property or Method that seems to do the job.

    Devron-mouse,
    You will need to go down to the Range object and get a reference to a cell or group of cells. From there you can get font object for that range and change properties there. (This is of course dependent upon your version of Excel that you have.)
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • In Dreamweaver 6, I created a new fluid layout. I set up (4) DIVs. In the 3rd div, I changed the font color. The new color shows up on the website when viewed in my computer desktop, but, when viewed in a tablet and a cell phone, the color of the font doe

    In Dreamweaver 6, I created a new fluid layout. I set up (4) DIVs. In the 3rd div, I changed the font color. The new color shows up on the website when viewed in my computer desktop, but, when viewed in a tablet and a cell phone, the color of the font does not change. It's the same in Dreamweaver's Live view. It shows the new color on Desktop view and not in the cell phone or tablet view. Also, I changed the font itself in one of the DIVs and it shows up in the new font on the desktop view and website viewed thru the computer, but, not on the tablet or cell phone. Can someone please explain. I want to be able to change the fonts and colors for viewing in the tablet and cell phone, also. The fonts were all standard fonts. Sans-erif and Verdana and Arial were tried. Thanks.

    I will lock this discussion because of duplicate post.

  • To change the font of a selected row in a Jtable

    Hello,
    Is it possible to change the font of a selected row in a jtable?
    i.e. if all the table is set to a bold font, how would you change the font of the row selected to a normal (not bold) font?
    thank you.

    String will be left justified
    Integer will be right justified
    Date will be a simple date without the time.
    As it will with this renderer.Only if your custom renderer duplicates the code
    found in each of the above renderers. This is a waste
    of time to duplicate code. The idea is to reuse code
    not duplicate and debug again.
    No, no, no there will be NO duplicated code.
    A single renderer class can handle all types ofdata.
    Sure you can fit a square peg into a round hole if
    you work hard enough. Why does the JDK come with
    separate renderers for Date, Integer, Double, Icon,
    Boolean? So that, by default the rendering for common classes is done correctly.
    Because its a better design then having code
    with a bunch of "instanceof" checks and nested
    if...else code.This is only required for customization BEYOND what the default renderers provide
    >
    And you would only have to use instanceof checkswhen you required custom
    rendering for a particular classAgreed, but as soon as you do require custom
    renderering you need to customize your renderer.
    which you would also have to do with theprepareRenderer calls too
    Not true. The code is the same whether you treat
    every cell as a String or whether you use a custom
    renderer for every cell. Here is the code to make the
    text of the selected line(s) bold:
    public Component prepareRenderer(TableCellRenderer
    renderer, int row, int column)
    Component c = super.prepareRenderer(renderer, row,
    , column);
         if (isRowSelected(row))
              c.setFont( c.getFont().deriveFont(Font.BOLD) );
         return c;
    }It will work for any renderer used by the table since
    the prepareRenderer(...) method returns a Component.
    There is no need to do any kind of "instanceof"
    checking. It doesn't matter whether the cell is
    renderered with the "Object" renderer or the
    "Integer" renderer.
    If the user wants to treat all columns as Strings or
    treat individual columns as String, Integer, Data...,
    then they only need to override the getColumnClass()
    method. There is no change to the prepareRenderer()
    code.
    Have you actually tried the code to see how simple it
    is?
    I've posted my code. Why don't you post your solution
    that will allow the user to bold the text of a Date,
    Integer, and String data in separate column and then
    let the poster decide.Well, I don't see a compilable, runnable demo anywhere in this thread. So here's one
    import javax.swing.*;
    import javax.swing.table.*;
    import java.awt.*;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Arrays;
    import java.util.Date;
    import java.util.Vector;
    public class TableRendererDemo extends JFrame{
        String[] headers = {"String","Integer","Float","Boolean","Date"};
        private JTable table;
        public TableRendererDemo() {
            buildGUI();
        private void buildGUI() {
            JPanel mainPanel = (JPanel) getContentPane();
            mainPanel.setLayout(new BorderLayout());
            Vector headerVector = new Vector(Arrays.asList(headers));
             Vector data = createDataVector();
            DefaultTableModel tableModel = new DefaultTableModel(data, headerVector){
                public Class getColumnClass(int columnIndex) {
                    return getValueAt(0,columnIndex).getClass();
            table = new JTable(tableModel);
    //        table.setDefaultRenderer(Object.class, new MyTableCellRenderer());
            table.setDefaultRenderer(String.class, new MyTableCellRenderer());
            table.setDefaultRenderer(Integer.class, new MyTableCellRenderer());
            table.setDefaultRenderer(Float.class, new MyTableCellRenderer());
            table.setDefaultRenderer(Date.class, new MyTableCellRenderer());
            JScrollPane jsp = new JScrollPane(table);
            mainPanel.add(jsp, BorderLayout.CENTER);
            pack();
            setLocationRelativeTo(null);
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        private Vector createDataVector(){
            Vector dataVector = new Vector();
            for ( int i = 0 ; i < 10; i++){
                Vector rowVector = new Vector();
                rowVector.add(new String("String "+i));
                rowVector.add(new Integer(i));
                rowVector.add(new Float(1.23));
                rowVector.add( (i % 2 == 0 ? Boolean.TRUE : Boolean.FALSE));
                rowVector.add(new Date());
                dataVector.add(rowVector);
            return dataVector;
        public static void main(String[] args) {
            Runnable runnable = new Runnable() {
                public void run() {
                    TableRendererDemo tableRendererDemo = new TableRendererDemo();
                    tableRendererDemo.setVisible(true);
            SwingUtilities.invokeLater(runnable);
        class MyTableCellRenderer extends DefaultTableCellRenderer{
            public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
                 super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
                if ( isSelected){
                    setFont(getFont().deriveFont(Font.BOLD));
                else{
                    setFont(getFont().deriveFont(Font.PLAIN));
                if ( value instanceof Date){
                    SimpleDateFormat formatter =(SimpleDateFormat) SimpleDateFormat.getDateInstance(DateFormat.MEDIUM);
                    setText(formatter.format((Date)value));
                if(value instanceof Number){
                   setText(((Number)value).toString());
                return this;
    }Hardly a "bunch of instanceof or nested loops. I only used the Date instanceof to allow date format to be specified/ modified. If it was left out the Date column would be "18 Apr 2005" ( DateFormat.MEDIUM, which is default).
    Cheers
    DB

  • Change the font color of a text field in a table by key-combination

    I want to change the font color of a text field in a table (single cell only) on pressing a key combination. Does anybody know how to do this.
    I have a lot of data in a table. During an evaluation of the data in a meeting I want to change the color of the text depending on the result of the meeting. (for example: High risk = CTRL+R makes the text red).
    I know how to change the color using a button, but I do not want to add a button after each cell. For this reason I would like to do it on a key combination that alway refers to the active cell.
    Many thanks for your help in advance.
    Marcel

    Hi,
    I don't think you can use the ctrl key like that as those shortcuts will be intercepted by Reader (ctrl-R toggles the ruler display on / off).  You also might have trouble updating the color while you still have focus on it.  You can use the shift key in a similar way, so if you only have lower case characters in the text fields then you can do something like;
    if (xfa.event.shift)
        switch (xfa.event.change)
            case "R":
                this.fontColor = "255,0,0";
                break;
            case "O":
                this.fontColor = "255,102,0";
                break;
            case "G":
                this.fontColor = "0,255,0";
                break;
        xfa.event.change = ""; // ignore character
    If you need uppercase characters maybe you can have one button to set "review mode" and test that on the if (xfa.event.shift) line.  But again it wont take effect until you have tabbed out of the field.
    Regards
    Bruce

  • How do I change the font size of a data point label on a cfchart?

    I know I can control the x axis and y axis font with the font="" attribute of the cfchart tag.  But I want to change the font size of the data label in the chart series.  Is that possible?

    To specifically and fully answer your question, no, you absolutely cannot change the “font size” as a function of print.
    First of all, there isn't a single “font size” associated with a PDF file (and we assume you are referring to a PDF file since this is an Acrobat forum).
    Secondly, PDF is a final form file format meaning that the content is static in terms of location, size, etc. on the page. To change the point size of any particular text, you really need to go back to the source document and make the changes there.
              - Dov

  • How do I change the font size of a document when I PRINT?

    How to I change the font size of a document when I print it?

    To specifically and fully answer your question, no, you absolutely cannot change the “font size” as a function of print.
    First of all, there isn't a single “font size” associated with a PDF file (and we assume you are referring to a PDF file since this is an Acrobat forum).
    Secondly, PDF is a final form file format meaning that the content is static in terms of location, size, etc. on the page. To change the point size of any particular text, you really need to go back to the source document and make the changes there.
              - Dov

  • How to disable a particular CELL in matrix?????

    Hi All,
               I have a doubt regarding the matrix.In my matrix the first column is a combobox it has a,b,c items....so if i select 'a' the remaining 'b' & 'c' columns should get disabled....previously iam able to disable the 'b' & 'c' columns but it's disabling the total 'b & 'c' columns in my matrix.....i just want to disable the particular cell based on the combobox selection....can we disable a particular cell in matrix.....
    regards,
    shangai.

    Shangai,
    here were many threads about this in last month. Try to search in history.
    BTW, the particular cell cannot be disabled (only whole column), but you could make system, that the cell is enabled but you cannot click on it (when user clicks on the cell, set bubbleeevnt to fasle).

  • How to change the font size from tabs ???

    Hi
    I found a tip to change the CSS in the apache directory in the forum here.
    but i can´t find the directory on my hard disk/oracle directory
    i got this version installed:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    can i change the font size of tabs/regions etc in any other way??

    Hi,
    The font size is defined by the style class used for the tab cells (tabs are normally created as cells in a table).
    To do this, the simplest solution may be to edit the page template:
    1 - Go to Shared Components/Templates
    2 - Select the page template(s) that you are using (you will have to do this for each template that you've used that uses tabs)
    3 - Scroll down to "Standard Tab Attributes" - you'll see two sections: Current Tab and Non Current Standard Tab.
    In Current Tab, you'll have something like:
    &lt;a href="#TAB_LINK#" class="t12standardtabcurrent"&gt;#TAB_LABEL#&lt;/a&gt;
    In Non Current Standard Tab, you'll have something like:
    &lt;a href="#TAB_LINK#" class="t12standardtabnoncurrent"&gt;#TAB_LABEL#&lt;/a&gt;
    After the class="...." attribute add in style="font-size:12px" (use whatever px value you want)
    4 - You should repeat the process for Current Parent Tab and Non Current Parent Tab as these contain the same settings
    5 - Apply your changes
    Regards
    Andy

  • How to change the font size of the output data ?

    Hi,
    In my sap script, I have an include statement which fetches the data based on some input values. It so happens that the value fetched is displayed in very small font and is not readable. I want to increase the font size of that particular output. Is there any function to increase the output text size, may be relative to current size ??
    Hope I am clear.
    thanks

    Hi Rad,
    If you want to change the font for a particular O/P then
    YOu can use IF condition
    /: IF &NAST-KSCHL& EA 'ZNEU'.  ( Your O/P type
    PD   & TEXT&
    /: ELSE
    GD  &TEXT&
    /:ENDIF.
    PD : Paragraph with default font 8
    GD is paragraph of default font 12
    For Include text:
    /: IF &NAST-KSCHL& EA 'ZNEU'.  ( Your O/P type
    /: INCLUDE 'ADRS_HEADER' OBJECT TEXT ID ADRS LANGUAGE &PRINT_LANGUAGE&  Paragraph  PD
    /: ELSE
    /: INCLUDE 'ADRS_HEADER' OBJECT TEXT ID ADRS LANGUAGE &PRINT_LANGUAGE&  Paragraph  GD
    /:ENDIF.
    Hope this will help you.
    Lanka
    Message was edited by: Lanka Murthy

  • When I copy and paste from Word to my e-mail using Firefox it changes the font and spacing to single and 10pt. It just started doing this a month ago. It does not do it when I am on my laptop or using Explorer. Help, I hate explorer.

    When I copy and paste from Word to my e-mail using Firefox it changes the font and spacing to single space and 10pt.
    It just started doing this a month ago.
    It does not do it when I am on my laptop or using Explorer.
    Help, I hate explorer.

    If this were a project that I was involved in, I would recapture the media at the correct frame rate and rebuild the sequences correctly.
    Moving from production, to post production, to delivery is a series of steps, and the success of any particular step is based on having all the preceding steps done correctly.
    Shortcuts and workarounds tend to create awkward and difficult problems, that often only surface late in the process.
    MtD

  • How do you change the colors of individual cells within a 2D array?

    How do you change the colors of individual cells within a 2D array of numeric indicators?
    I want the VI to check a data value and if it is failing, white out a square at a specific index coordinate.  I have it working with color boxes, but I'm not sure how to use the property node function, to change the color of individual cells, by coordinates.
    I have attached the VI using color boxes. If you run the VI, the box corresponding to the Step control should turn white.
    I want to do the same thing, using numeric indicator boxes inside the array.
    Thanks for any suggestions...
    Attachments:
    Fill DME matrix.vi ‏95 KB

    Get rid of all these sequences! That's just bad form.
    Your code has a few logical problems. Why do you create a boolean array if you later only look at the last element (Yes, the FOR loop does nothing useful, except in the last iteration because your outputs are not indexing. All other iterations are useless, you only get the result of the last array element. My guess is that you want to color the index white if at least one of the numbers is out if range. Right?
    It is an absolute nightmare to manage all your numeric labels. Just read them from a 2D array. Now you can simply find the index of the matched elements and don't have to spend hours editing case structure conditions.
    Attached is a simple example how you would do what I meant (LV7.1). Modify as needed.
    Message Edited by altenbach on 04-04-2006 02:04 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Fill_2DME_matrixMOD.vi ‏70 KB

  • Change the font on a continuous form

    I am using a continuous form that lists step by step instructions.  There is a checkbox that they check to indicate when a step in those instructions can not be executed.  I want to change the font only on those lines that have been checked. 
    Is this possible? 

    I am using a continuous form that lists step by step instructions.  There is a checkbox that they check to indicate when a step in those instructions can not be executed.  I want to change the font only on those lines that have been checked. 
    Is this possible? 
    As Razerz post says.
    Since nobody has any idea what control those lines are displayed in and what checkbox capability is being used with those lines it's pretty much a guess on how to assist you.
    Any control that contains text can have its font changed. But if all the steps are in one control, like a richtextbox, then then a particular steps text may have to be selected and have its font altered.
    I suspect you could alter the Font and Forecolor of the control or text so the step text is more noticeable than just altering the font perhaps.
    Also in an open post that you are editing there is a toolbar at the top. To the right of the letters HTML is a square button used to insert a code block for copying and pasting code in. It will place the code block at the last location in the post your caret
    was at when you select that button, select the language, copy/paste your code, preview then insert.
    La vida loca

Maybe you are looking for

  • Getting query results from a PL/SQL procedure

    Hi! So, I'm a little stumped and I can't seem to find the answer to what I believe is probably a simple question- So, here goes- I have a big ol' union query that I use to create a report on a page, it's about 25k – not over the 32k limit, but fails

  • Iturns encounters an error and must close during transfer to ipod

    Ok it's way late for me but I've been messing with this for the past 41/2 hours. I just want my music I had my motherboard replaced. Got the computer back and it removed my downloaded songs. Finally figured out how to get approval back after it reque

  • Connection with airport impossible after security update

    Hei I'm new on mac computers; after downloading the security update, i have a problem with my airport. The airport is working, it detect my Livebox, knows it name. It ask me to give the WEP key to access to this livebox a message. i give it and then

  • Problem opening a VI due to improper shutdown of PC.

    Hello, I am using LABVIEW-7. I am having problem in opening a vi that i created and named as 'P Calculator.vi'. When I click on it, window (W1) opens in which it searches for sub-vi. The search halts when it looks for 'Obsolete ni Switch.LLB' and imm

  • Why did only part of my song download?

    I downloaded a song and only part of it completed but it isn't still in the download section. How do I fix this?