Hide headings when no row in table

I am trying to create a report using LiveCycle/Acrobat, i.e. the form is created as a dynamic pdf in livecycle. I will open it with acrobat and import data.
To simplify the report, it has two columns
Client    Date Seen
Not all clients have ever been seen, and I would like the report to look something like:
Joe Blow    Date seen
                 may 5
                 june 16
Mary Smith Date seen
                  july 23
John Smith
Fred Jones   Date seen
                  jan 14
The important point there is that for John Smith, who has no instances of being seen, I want to make the header (Date seen) invisible.
If it was a form into which someone was entering data, I would do something like (on the Exit event):
if (Date.rawValue == null)
{parent.parent.HeaderRow.presence = "invisible"}
else {parent.parent.HeaderRow.presence = "visible"}
but when I import XML data I don't think there is an "event".
I suspect what I have to do is insert a script object, and I think it needs to be called somehow after the "Import Data", and I suspect it needs to loop through all the nodes and work out which instances of the HeaderRow should be invisible, and which invisible, but I'd appreciate some guidance.
Thanks,
Jon

Thanks. That looks like the right event - it occurs once on opening the form and agin when you import the data. Just need to figure out the looping and presence-setting now.

Similar Messages

  • Swapping content when moving rows in tables

    In Pages '06, you could grab a row on a table and drag it over another row and the content would swap. This was a very convenient way to re-order a table. In Pages '08 if you drag a row, it just replaces the destination and leaves a blank row behind. (This of course is how MS Word works, I always liked the improvement in Pages.)
    Does anyone know of a way to get back to this behavior or why it was changed?

    that's surprising. Try it in Pages '06. I just did. And it works as I described. And then I looked up the Pages '06 help file:
    (note, if you have both versions installed, and search help, you end up in the Pages '08 help file, so you have to navigate the Pages '06 help manually.)
    in the previous version, the option key did an overwrite, but the reverse is not true in this version.
    Moving or copying table cells
    You can move or copy one or more table cells at a time.
    To move cells:
    Select the cell or cells you want to move.
    Drag the cell or cells to a new location in the table.
    Any cells you move swap position with cells previously occupying that location in the table.
    You can also replace a cell by moving a copy of another cell into it. Select the cell you want to copy, and then press the Option key while dragging the cell into the cell you want to replace.

  • Deleting rows in a table T1, when last row in table T2 is deleted

    I have two tables, T1 and T2. The relation of T1 to T2 is one to many.
    If the last row of T2 is deleted, the correspondig record in T1 should also be deleted.
    How can I implement this in the delete-trigger of T2.
    Thanks
    null

    I have two tables, T1 and T2. The relation of T1 to T2 is one to many.
    If the last row of T2 is deleted, the correspondig record in T1 should also be deleted.
    How can I implement this in the delete-trigger of T2.
    Thanks
    null

  • How to hide headings when no records are retrieved?

    I am building a report with two breaks.
    I used conditional formatting to supress the empty line if no
    records are found but I need to also supress the headings.
    If I use the same condition in the conditional formatting for
    the frame that contains the headings, I get an error saying
    REP 1314 - Format trigger references column at wrong frequency.
    Help.
    Gautham

    Try creating a user parameter "suppress_header" of character
    type. In a formula trigger for the data field, set the user
    parameter to true/false depending on whatever. The header
    format trigger should key off the user parameter, which won't
    get the same complaint about frequency.
    We typically use user parameters as a 'cutout' between
    frequencies, when needed. I just tried it at a crude level
    (not one of my group-by reports) and the header disappeared.
    HTH.
    -- allan plumb

  • How to Hide Row in table view depend on condition

    Dear Friends,
    Please any one suggest how to do hide some rows in table depend on condtions.
    My Issue is :
    I have table with binding componant context controller, with in that some rows are no need to disply in my table, I tried to delete that entities from collection wrapper in do_prepare_output. but that entites are perminatly deleted from model node.
    how can achive this with out delete entities from model node and hide some rows in table view.
    thanks & Regards

    Hi Andrew,
    Please can you explain alobrate, because i wont' found that method in my implimentation and it's table config like follow
    <% IF attr->check_consistency( ) eq abap_true. %>
        <chtmlb:configTable  xml="<%= lv_xml %>"
                             id="TextList"
                             navigationMode="BYPAGE"
                             onRowSelection="select"
                             table="//Text/Table"
                             width="100%"
                             selectedRowIndex="<%=Text->SELECTED_INDEX%>"
                             selectedRowIndexTable="<%=Text->SELECTION_TAB%>"
                             selectionMode="<%=Text->SELECTION_MODE%>"
                             usage="ASSIGNMENTBLOCK"
                             visibleRowCount="3"/>
      <% ENDIF. %>
    thanks & Regards
    Ganesh

  • Dynamic tables collide when adding rows

    Hi,
    I created two dynamic tables with buttons to add/remove/move rows. When I add rows, the table collides with the other one and overlays it. How can I manage that the other table (or content) of the PDF is moved automatically further down to avoid a collision?
    Thanks
    Using LCD 7.1
    Edited by: Martin Hornstein on Jul 2, 2008 2:52 PM

    Hi,
    first of all thanks for answering that quickly!
    @ Gopal
    Thank you. When I wrap the whole page with a subform and set it to flowed, all elements are in a chaos (but the table is flowed to the next page when reaching the end of it).Putting a subform between the two tables works!
    Space between two tables:
    subform (flowed)
    --> subform (flowed)
    >table
    --> subform (position) = spacer
    --> subform (flowed)
    >table
    @ amita
    unfortunately it is not possible to check that option for allowing page breaks
    Thanks to both of you!
    Edited by: Martin Hornstein on Jul 4, 2008 2:35 PM
    Edited by: Martin Hornstein on Jul 4, 2008 2:36 PM

  • First row of table is displayed as selected always when application loads.

    Hi..
    I have a table with few rows in it.When the application loads the first row of table is displayed as selected always.I don't want any of the rows to be displayed as selected.
    How can I prevent this ?
    My jdev version 11.1.1.5.0
    Edited by: Lovin_JV_941794 on Mar 12, 2013 2:13 AM

    Hi,
    can you remove the attribute
    selectedRowKeys="#{bindings.XXXX.collectionModel.selectedRow}"This would ensure that there are no selected rows persisted. you can also paste the jspx code also for better answer.
    ~Abhijit

  • Scrolling to next range in advanced table when new rows are added.

    I programatically implemented Add New Row in an advanced table.
    "Records Displayed" attribute of advanced table =10, so as log as I add upto 10 new rows the table displays 10 rows,if I add 11th record the new record is appended @ 11th position but I've to choose "Next" link on the advanced table to see the 11th row.Is it possible to show the last rowset in the advanced table when new rows are added?
    The underlaying VO executes the following code when "Add New Row" button is pressed:
    int rCount = this.getFetchedRowCount();
    int rangeSize = this.getRangeSize();
    int rangeStart = this.getRangeStart();
    if (rCount < rangeSize) {
    this.insertRowAtRangeIndex(rCount, newRow);
    } else {
    this.setRangeSize(rCount+1);
    this.insertRowAtRangeIndex(rCount, newRow);
    this.setCurrentRow(newRow);
    To scroll to the 11-20 rows (when added more than 10 rows),I tried with following options, but none of them helped:
    1) int newRangeStart = ( rCount / 10 ) * 10 ;
    this.setRangeStart(newRangeStart);
    2) this.scrollRange(newRangeStart);
    3) this.scrollRange(rCount);
    4) int newRangePage = rCount / 10;
    this.scrollToRangePage(newRangePage+1);
    5) this.getNextRangeSet();
    Please let me if it is possible to achieve.

    What happens if you just add the new row without specifying where to add it ? doesn't it add the new row on the same page as the last row ?
    Thanks
    Tapash

  • What is the problem with native dynamic sql when counting rows in all table

    what is the problem with native dynamic sql when counting rows in all table?Giving an error "table or view does not exist". Thanks.
    DECLARE
    v_sql_string varchar2(1000);
    v_no_of_rows number;
    BEGIN
    for i in ( select table_name from all_tables )
    loop
    v_sql_string := ' select count(1) from ' || i.table_name;
    dbms_output.put_line( v_sql_string );
    --execute immediate v_sql_string into v_no_of_rows;
    end loop;
    END;

    Usually your problem can be described with 'Who cares'. I mean, for what reason do you do this? I doubt that there's a business need to get 100 % accurate answers for this. Normally such things are used to get a picture about the growth of data.
    Personally I would prefer to have up-to-date statistics for all tables and just query the number of rows from there. Sufficient for me in < 99 % of all cases.
    Just my $ .02...

  • Hide the rows of 'TABLE' - WEB ITEM

    Hi,
    How can i delete/hide the rows of a DATA_CELL using the super class CL_RSR_WWW_MODIFY_TABLE?
    I need to delete/hide the rows of a DATA_CELL where C_CELL_STYLE eq 'SAPBEXstdData'.
    regards,
    ravi
    Message was edited by: Ravi

    HI,
       Thanks for the reply deepu.
       I did try that before, but i need to delete or hide the complete rows of the query result.
       The below code only hides <TD> not <TR>.
       If you have any workaround or resolution to hide or delete the rows, please do let me know.
       thank you,
    regards,
    ravi
    Message was edited by: Ravi

  • How to deactivate move columns/rows on tables obiee11

    Hi!
    I have two questions:
    1. Is possible to hide the option of next image?
    http://imageshack.us/photo/my-images/690/tabledp.jpg/
    I want to user only see table like obiee 10 and I don't want to move columns or rows...
    2. Also I want to hide information when user has the mouse in gauge chart...like next image:
    http://imageshack.us/photo/my-images/809/gaugej.jpg/
    Only for this gauge...maybe some other gauges I want to see this info...
    Thanks!

    Alex1 wrote:
    1. Is possible to hide the option of next image?
    http://imageshack.us/photo/my-images/690/tabledp.jpg/
    I want to user only see table like obiee 10 and I don't want to move columns or rows...
    No, this is not possible in OBIEE 11g. There is a bug logged for this ( Bug 10222173 - ABILITY TO DISABLE DRAG AND SORT FUNCTIONALITY OF COLUMNS )
    Regards,
    -Amith.

  • Numbers 09 continuing formulas when adding rows

    Numbers 09 - I have a checkbook template but when adding rows at the bottom the formulas do not continue. I have tried adding rows from the last row "Add row below" and also while in the last cell hitting return. Neither of these work. Any suggestions?

    Hi jc,
    The rule is quite explicit: "If all the body cells in a column above the new row contain the same formula or cell
    control, the formula or cell control is repeated in the new row."
    So far there's been some information necessary to solving the problem missing from your posts. Please do the following, and supply the requested information:
    Unhide ALL rows. There are two ways to do this, depending on what was done to hid them.
    a. Click on the Reorganize button. If the checkbox beside "Show rows that match..." is checked, uncheck it.
    b. If the checkbox is unchecked, or if there are still rows hidden after unchecking it, go to the Table menu and choose Unhide all Rows.
    Click on any cell on the table to activate the table and show the Column and Row reference tabs. Hover the mouse over the tab for Row 1, then click the triangle that appears to open the local row menu. Repeat with rows 2, 3, 4, 5 and 6 until you find the first row whose menu starts with the item shown below. Which row has this menu item on your table?:
    Now click on cell G2 (the first cell containing a balance).
    Select and Copy the whole formula from this cell. Paste it into your reply to this message.
    Repeat step 3 with the formula from cell G3. Paste it directly below the formula from G2, using the example below as a guide:
    G2: (paste formula)
    G3: (paste formula)
    Regards,
    Barry

  • How to delete the row in table control with respect to one field in module pool programming?

    Hi,
    Can I know the way to delete the row in table control with respect to one field in module pool programming
    Regards
    Darshan MS

    HI,
    I want to delete the row after the display of table control. I have created push button as delete row. If I click on this push button, the selected row should get deleted.
    I have written this code,
    module USER_COMMAND_9000 input.
    DATA OK_CODE TYPE SY-UCOMM.
    OK_CODE = SY-UCOMM.
    CASE OK_CODE.
         WHEN 'DELETE'.
            LOOP AT lt_source INTO ls_source WHERE mark = 'X'.
                APPEND LS_SOURCE TO LT_RESTORE.
                DELETE TABLE LT_SOURCE FROM LS_SOURCE.
                SOURCE-LINES = SOURCE-LINES - 1.
            ENDLOOP.
    But I'm unable to delete the selected rows, It is getting deleted the last rows eventhough I select the other row.
    So I thought of doing with respect to the field.

  • Check for null values in conditional formatting when no rows returned.

    I have a report that is showing facts for different months.
    For some months there is no row in the facts table.
    But in the report, I have to show a * when there is no data.
    If there is a row in the facts table with null value for data, the conditional formatting successfully shows a * when data is null.
    But when no row is present in the facts for a particular month , conditional formatting is unable to detect any null, as none exist.
    How we can check that no rews returned for a particular month and then show *?
    thanks

    Hi,
    which obiee version r u using?
    My Blog ref:
    http://obieeelegant.blogspot.com/2011/06/replacing-null-as-0-in-obiee.html
    in obiee10g its working fine.expect obiee11g
    also see the bug reference
    How to replace null as 0 in  obiee11g pivot table view?
    obiee11.1.1.6.0 also have the same issues.
    Thanks
    Deva

  • How to get all the index of "selected rows" in table control?

    Hi Gurus,
    I have a table control, wherein I need to get selected row so that I can get its respective TABIX.
    I know that the event for capturing selected row is in PAI.
    I also ensure that the w/ selColumn name in my screenpainter is exactly the same as my declaration in ABAP.
    TOP INCLUDE
    YPES: BEGIN OF Y_ZQID_CHECK,
            IDNUM           TYPE ZQID_CHECK-IDNUM,
            WERKS           TYPE ZQID_CHECK-WERKS,
            MATNR           TYPE ZQID_CHECK-MATNR,
            LICHA           TYPE ZQID_CHECK-LICHA,
            LIFNR           TYPE ZQID_CHECK-LIFNR,
            ECOA_S          TYPE ZQID_CHECK-ECOA_S,
            ID_STAT         TYPE ZQID_CHECK-ID_STAT,
            ID_DATE         TYPE ZQID_CHECK-ID_DATE,
            FLAG_MAILCOA(1) TYPE C,
            MARK(1)         TYPE C, "Name of w/ SelColumn in ScreenPainter: T_ZQIDCHECK_DISCH-MARK
           END   OF Y_ZQID_CHECK.
    DATA: T_ZQIDCHECK_DISCH TYPE STANDARD TABLE OF Y_ZQID_CHECK WITH HEADER LINE.
    PAI
    PROCESS AFTER INPUT.
    * MODULE USER_COMMAND_9004.
    LOOP AT T_ZQIDCHECK_DISCH.
      MODULE READ_TC_DISCH .
    ENDLOOP.
    module READ_TC_DISCH input.
      DATA: W_LINE_SEL TYPE SY-STEPL,
                  W_TABIX    LIKE SY-TABIX.
      GET CURSOR LINE W_LINE_SEL.
      W_TABIX = TC_ID_ONLY-TOP_LINE + w_LINE_SEL - 1.
      MODIFY T_ZQIDCHECK_DISCH INDEX TC_ID_ONLY-current_line.
    If I am selecting single row, I can properly get the selected index via debug.
    BUG:
    When I'm selecting multiple rows in table control, only the last row is always being read inside the loop of my table control.
    Please see the screenshot.
    [url]http://img268.imageshack.us/img268/5739/tcselectedrows.jpg[url]
    Notice in the debug screenshot, even if it's just in the 1st loop of table control, it automatically gets the 4th table control index, instead of the 2nd one.
    Helpful inputs will be appreciated.
    Thanks.
    Jaime
    Edited by: Jaime Cabanban on Dec 9, 2009 3:16 PM

    Hi,
    Are you sure that you have selected multiple line for tablecontrol in the property window of the tablecontrol.
    Flowlogic.
    LOOP WITH CONTROL TC_01.
         Module Get_Marked.
    ENDLOOP.
    Module Pool
    Module Get_Marked.
    read the data from the internal table where mark  = 'X'.
    this should give you only selected records.
    Endmodule.
    Kindly check the tablecontrol property.
    Regards,
    Ranjith Nambiar

Maybe you are looking for

  • Install problems on windows 7 x64 (CS5)

    There are any known problem on installation progres of CS5 on W7 x64?? I tray to install it many times and i can't. Any one know any problem?

  • Line Items Greyed out in Sales Order

    Hi, In sales order we are using KMAT material and selecting the required components as per customer requirement and same are coiped into sales order. High level KMAT material has item category TAC and Lower level line items have item categroy TAE.  T

  • .wmv into FCP back to .wmv - best workflow with Flip4Mac?

    Apologies if this has been asked before, can't find a specific answer to this. My client has provided a .wmv (windows media video 9) source file that needs to be edited. The client needs the final format to also be .wmv with the WMV9 codec. I've down

  • Draw with PL/SQL?

    Sorry for my bad english but this is my question: how to draw a parable with asterisks (*) receive 2 parameters (x, y). any help is great for me, thanks! Edited by: xDeviates on 20-ago-2011 9:52

  • Preview before purchase

    I know this has been asked before, but it was never answered. How do you listen to a song before purchasing it (you know, trying to get the right version of the song....)?