How to Keep Lines / Tables rows together

Hi All
I would like to know if Words functionality to
Keep lines together (Format - Paragraph - Line Page Breaks Tab - Keep Lines together tick box) is supported by XMLP.
Our particular requirement is to keep our table of 3 rows per record (wrapped in a for each) together over a page break, although I can see this option being useful for letters etc in the future.
We are using XMLP 5.6.2
Thanks
Chris.

Hi Vaurn
Note a bad idea thanks for that.
Unfortunately the first row in our table has 8 columns, the following 2 rows have just one column, this stops us from merging all three rows together.
Excuse my lack of knowledge but how do we mail files to you without disclosing our email address to whole world??
Thanks
Chris.

Similar Messages

  • How to reject external table rows with some blank columns

    How to reject external table rows with some blank columns
    I have an external table and I would like to reject rows when a number of fields are empty. Here are the details.
    CREATE TABLE EXTTAB (
    ID NUMBER(10),
    TSTAMP DATE,
    C1 NUMBER(5,0),
    C2 DATE,
    C3 FLOAT(126)
    ORGANIZATION EXTERNAL (
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY EXT_DAT_DIR
    ACCESS PARAMETERS (
    RECORDS DELIMITED BY NEWLINE
    LOAD WHEN (NOT (c1 = BLANKS AND c2 = BLANKS AND c3 = BLANKS))
    LOGFILE EXT_LOG_DIR:'exttab.log'
    BADFILE EXT_BAD_DIR:'exttab.bad'
    DISCARDFILE EXT_BAD_DIR:'exttab.dsc'
    FIELDS TERMINATED BY "|"
    LRTRIM
    MISSING FIELD VALUES ARE NULL
    REJECT ROWS WITH ALL NULL
    FIELDS (
    ID,
    TSTAMP DATE 'YYYYMMDDHH24MISS',
    C1,
    C2 DATE 'YYYYMMDDHH24MISS',
    C3
    ) LOCATION ('dummy.dat')
    REJECT LIMIT UNLIMITED
    So, as you can see from the LOAD WHEN clause, I'd like to reject rows when C1, C2 and C3 are empty.
    The above statement works fine and creates the table. However when I am trying to load data using it, the following error is produced:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "not": expecting one of: "double-quoted-string, identifier, (, number, single-quoted-string"
    KUP-01007: at line 1 column 41
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    It seems that external tables driver does not understand the "NOT (...)" condition. Could anyone suggest how I can achieve what I want in a different way?
    Thank you.
    Denis

    Another method would be to simply remove the "LOAD WHEN condition" and create a view on the external table which filters the data.
    CREATE EXTTAB_VIEW AS
    SELECT * FROM EXTTAB
    WHERE not (c1 is null and c2 is null and c3 is null);

  • How to hide a table row in pdf  using javascript?

    How to hide a table row in pdf  using javascript?

    This is only possible with LiveCycle Designer forms, not PDF forms created
    in Acrobat.

  • How to keep LIN at hight when no data on it?

    Hi All,
    I have a question: how to keep LIN at hight level when no data on it?
    My card is PCI-8516
    Thanks a lot.

    I release LIN, so bus is low.

  • How to keep a table in memory in Oracle 10g

    How to keep a table in memory in Oracle 10g

    Hi !
    For small tables wich are mostly accessed with full table scan you can use
    ALTER TABLE <table_name> STORAGE (BUFFER_POOL KEEP);KEEP pool should be properly sized , setting will cause once the table is read oracle will avoid flushing it out from pool.
    T

  • How can I export table row in internet explorer?

    I need to export a single table row on a website and I can't figure out how to do it.  The source view for the row I need is:
    tr class="alt">
    <td id="16ZwhxLjCN8fafA8wuYEnMFtGJGrFy6qcE">16ZwhxLjCN8fafA8wuYEnMFtGJGrFy6qcE</td>
    <td></td>
    <td></td>
    <td>0.00065227</td>
    <td>0.01233629</td>
    <td>0.00371003</td>
    </tr>I can get the table ID using the code below, but I don't know how to get the rest of the values. The table ID does not change but the numerical values do.$ie = New-Object -com InternetExplorer.Application
    $ie.silent = $false
    $ie.navigate2("mywebsite.com")
    $ie.Document.getElementById("16ZwhxLjCN8fafA8wuYEnMFtGJGrFy6qcE")

    Hi Tom,
    this may not be quite the perfect solution, but it works for me at least. I'm not using the IE ComObject, but rather the .NET Webclient for it ...
    # Load downloader function
    function Get-WebContent
    <#
    .SYNOPSIS
    Downloads a file
    .DESCRIPTION
    Download any file using a valid weblink and either store it locally or return its content
    .PARAMETER webLink
    The full link to the file (Example: "http://www.example.com/files/examplefile.dat"). Adds "http://" if webLink starts with "www".
    .PARAMETER destination
    The target where you want to store the file, including the filename (Example: "C:\Example\examplefile.dat"). Folder needs not exist but path must be valid. Optional.
    .PARAMETER getContent
    Switch that controls whether the function returns the file content.
    .EXAMPLE
    Get-WebContent -webLink "http://www.technet.com" -destination "C:\Example\technet.html"
    This will download the technet website and store it as a html file to the target location
    .EXAMPLE
    Get-WebContent -webLink "www.technet.com" -getContent
    This will download the technet website and return its content (as a string)
    #>
    Param(
    [Parameter(Mandatory=$true,Position="0")]
    [Alias('from')]
    [string]
    $WebLink,
    [Parameter(Position="1")]
    [Alias('to')]
    [string]
    $Destination,
    [Alias('grab')]
    [switch]
    $GetContent
    # Correct WebLink for typical errors
    if ($webLink.StartsWith("www") -or $webLink.StartsWith("WWW")){$webLink = "http://" + $webLink}
    $webclient = New-Object Net.Webclient
    $file = $webclient.DownloadString($webLink)
    if ($destination -ne "")
    try {Set-Content -Path $destination -Value $file -Force}
    catch {}
    if ($getContent){return $file}
    # Download website
    $website = Get-WebContent -WebLink "http://www.mywebsite.com" -GetContent
    # Cut away everything before the relevant part
    $string = $website.SubString($website.IndexOf('<td id="16ZwhxLjCN8fafA8wuYEnMFtGJGrFy6qcE">'))
    # Cut away everything after the row
    $string = $string.SubString(0,$string.IndexOf('</tr>'))
    # Split the string into each individual line
    $lines = $string.Split("`n")
    # Prepareing result variable
    $results = @()
    # For each line, cut away the clutter
    foreach ($line in $lines)
    $temp = $line.SubString(4,($line.length - 10))
    # for the first line, the td has an id, which this compensates for
    if ($temp -like 'id="16ZwhxLjCN8fafA8wuYEnMFtGJGrFy6qcE">*'){$temp = $temp.SubString(($temp.IndexOf(">") + 1))}
    # Add cleaned line to results
    $results += $temp
    You may need to adapt the string parsing beneath the function, if the text you posted is not literally identical to the way this function returns it. It worked for a string block acquired via copy&paste from your post anyway. :)
    I certainly would be more than happy to read a more elegant version, if someone has one to offer.
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • How to keep the first row fixed in a JTable, with sorting, and bellow the headers ?

    I am trying to change the following code so then the fixed rows will stay on top(but below the headers!), but when I change getContentPane().add(fixedScroll, BorderLayout.SOUTH); to getContentPane().add(fixedScroll, BorderLayout.NORTH); it stays above the headers. How can I put the first rows on top, but below the headers ? Thanks.
    import java.awt.*; 
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import javax.swing.event.*;
    * @version 1.0 03/05/99
    public class FixedRowExample extends JFrame {
      Object[][] data;
      Object[] column;
      JTable fixedTable,table;
      private int FIXED_NUM = 2;
      public FixedRowExample() {
        super( "Fixed Row Example" );
        data =  new Object[][]{
            {      "a","","","","",""},
            {      "","b","","","",""},
            {      "","","c","","",""},
            {      "","","","d","",""},
            {      "","","","","e",""},
            {      "","","","","","f"},
            {"fixed1","","","","","","",""},
            {"fixed2","","","","","","",""}};
        column = new Object[]{"A","B","C","D","E","F"};
        AbstractTableModel    model = new AbstractTableModel() {
          public int getColumnCount() { return column.length; }
          public int getRowCount() { return data.length - FIXED_NUM; }
          public String getColumnName(int col) {
           return (String)column[col];
          public Object getValueAt(int row, int col) {
            return data[row][col];
          public void setValueAt(Object obj, int row, int col) {
            data[row][col] = obj;
          public boolean CellEditable(int row, int col) {
            return true;
        AbstractTableModel fixedModel = new AbstractTableModel() {     
          public int getColumnCount() { return column.length; }
          public int getRowCount() { return FIXED_NUM; }
          public Object getValueAt(int row, int col) {
            return data[row + (data.length - FIXED_NUM)][col];
        table = new JTable( model );
        table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        table.setAutoCreateRowSorter(true);
        fixedTable = new JTable( fixedModel );
        fixedTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        fixedTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        JScrollPane scroll      = new JScrollPane( table );
        scroll.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
        JScrollPane fixedScroll = new JScrollPane( fixedTable ) {
          public void setColumnHeaderView(Component view) {} // work around
                                                 // fixedScroll.setColumnHeader(null);
        fixedScroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
        JScrollBar bar = fixedScroll.getVerticalScrollBar();
        JScrollBar dummyBar = new JScrollBar() {
          public void paint(Graphics g) {}
        dummyBar.setPreferredSize(bar.getPreferredSize());
        fixedScroll.setVerticalScrollBar(dummyBar);
        final JScrollBar bar1 = scroll.getHorizontalScrollBar();
        JScrollBar bar2 = fixedScroll.getHorizontalScrollBar();
        bar2.addAdjustmentListener(new AdjustmentListener() {
          public void adjustmentValueChanged(AdjustmentEvent e) {
            bar1.setValue(e.getValue());
        scroll.setPreferredSize(new Dimension(400, 100));
        fixedScroll.setPreferredSize(new Dimension(400, 52));  // Hmm...
        getContentPane().add(     scroll, BorderLayout.CENTER);
        getContentPane().add(fixedScroll, BorderLayout.SOUTH);   
      public static void main(String[] args) {
        FixedRowExample frame = new FixedRowExample();
        frame.addWindowListener( new WindowAdapter() {
          public void windowClosing( WindowEvent e ) {
            System.exit(0);
        frame.pack();
        frame.setVisible(true);

    Sorry, this code missed a very important line:
    table.setAutoCreateRowSorter(true);
    So you meant:
    Object[][] header;//class atribute
    header=new Object[][]{//in the constructor
                { "h","i","j","k","l","m"},
                { "h","i","j","k","l","m"}
    public Object getValueAt(int row, int col) {//in the TableModel
            if (row==0){
                return header[row][col];
            else {
                return data[row][col];
    I tried, but when I sort, the first row get sorted with the rest.

  • How to get more table rows to appear on form

    I'm looking for a way to have more table rows appear on the actual form.  I created a table with one header and one row with the add and delete button option.  I like how the purchase order form sample has it setup where in designer it shows one row and then on the form it appears the table has three rows to start with.  How do I do that?  I looked at the code on the sample and I couldn't find it anywhere.  Please help, thanks.

    Hi,
    The first part is easy to set up. If you select the object and go to the Object > Field palette. There you can click on display pattern and insert a null pattern, like "Name".
    When the field doesn't have data, it will display "Name", but as soon as the user clicks in, this will automatically disappear.
    The slight glitch is that by default this 'caption in the field' has the same text style as the rawValue, typically Myriad, black 10pt.
    To achieve a grey, italic font to the null values, will require a little script.
    If you look at page 2 of this example you will see how I have set up the three fields on the right:
    http://www.assuredynamics.com/index.php/category/portfolio/laying-out-form-objects/
    Hope that helps,
    Niall
    Assure Dynamics

  • How to access af:table rows in JavaScript

    Hi,
    I have a requirement to access af:table rows in java script.I tried the same using following code.
    getRows returns the correct no of rows from the table, but table.getValue() returns null.
    var table = AdfPage.PAGE.findComponentByAbsoluteId('t1');
    if (table != null){
    alert(table.getRows());
    alert(table.getFirst());
    alert(table.getValue());
    Any pointers on how i can achieve this.

    We have a requirement where in,we have to check if the order number is already added to the cart(cart here is a table)
    and this validation needs to be done as soon as you enter 10 digits in the input field for order number.
    in short,order need to validated if its duplicate order against table at client side(sson as you enter 10 digits in order number)
    initially I was trying to implemet this with ServerSide listner as below
    Java script on page :
    function addDuplicate(evt) {
    var source = evt.getSource();
    AdfCustomEvent.queue(source, "MyCustomServerEvent",
    false);
    event.cancel();
    Bean method
    public void callAddDuplicateSeverEvt(ClientEvent clientEvent) {
    ADFContext.getCurrent().getPageFlowScope().put("dupOrderNumFlag", "N");
    System.out.println("in handle Add duplicate::"+ ADFContext.getCurrent().getPageFlowScope().get("dupOrderNumFlag"));
    input text on page
    ====
    <af:inputText label="" id="it1" value="#{pageFlowScope.dspOrderNum}"
    columns="14" autoComplete="off" styleClass="orderveritext"
    maximumLength="10" >
    <af:clientListener method="validateOrderNumChars" type="keyPress"/>
    <af:clientListener method="enableAddButton" type="keyUp"/>
    <af:clientListener method="addDuplicate" type=" keyPress "/>
    <af:serverListener type="MyCustomServerEvent"
    method="#{viewScope.HLKioskBean.callAddDuplicateSeverEvt}"/>
    </af:inputText>
    Problem with this solution is My application is KIOSK app(touch screen) on every key press in order num input field screen flickers,looks like its trying to do Full page rendering(though i do not have any PPR) in every call to serverListerner.
    Please advise.

  • How to generate unique table row id's in a cfoutput query?

    I am trying to implement a jQuery drag and drop table row function to my CF pages but in order to save my "drop" positioning to the database I need to serialize all the table row id's.What coding would I need to add so that after the cfoutput query is run, each table row would have a unique id (ie. tr id="1", tr id="2", etc.)? Thanks.

    Utilize the CurrentRow variable that's automatically available within your query output:
    <cfoutput query="myQry">
              <tr id="row#currentRow#">
                        <td>...</td>
              </tr>
    </cfoutput>
    that will give you:
    <tr id="row1">
              <td>...</td>
    </tr>
    <tr id="row2">
              <td>...</td>
    </tr>
    <tr id="row3">
              <td>...</td>
    </tr>
    etc...

  • How to keep a table on one page

    Hi,
    Is there any way to prevent a pagebreak in a table?
    If a table is selected, then the Inspector-Text-More-Pagination&Pagebreak is grayed out.
    I tried Inspector-Wrap-Object Placement-Floating, which indeed keeps the table on one page, but has all kinds of nasty side-effects. I really need to keep the table inline.
    Thank you!

    Archon,
    In the Wrap Inspector, change the Table's property from Inline to Floating. Now you can position it on the following Page and avoid the split. Be careful though, because now you are fully responsible for the table position on the page and it will not split even if it grows larger than a page in length.
    Jerry

  • How to combine 2 table rows into 1

    Hi,
    I have an interesting situation where I have two table rows which represent the same row but with a different set of attributes, and I want to combine these two rows into one row for display with in my ADF table. Is there a way that I can manipulate my table data to do this before it is rendered within my table?
    As an example I have:
    Name | Type | Attribute
    T1      A        blue
    T1      A        red
    T2      B        green
    Instead of displaying the above I would like to display
    Name | Type | Attribute
    T1      A      blue, red
    T2      B      greenAny help is appreciated,
    -Wraith
    Edited by: wraith101 on Oct 8, 2012 2:42 PM

    Frank,
    create a database view that calls a stored function to parse the duplicate values into a comma separate string and then built the ADF BC entity and view on top of this. This issue is not really one that should be fixed on the >model or UI layer. Building entity view is not a good idea, as all views are not update able, and in this scenario it would'nt be.

  • How can I restore table rows to their original, unsorted order?

    I understand that I could've manually created an "Order" column of sequential numbers and then sort by that.
    What I'm looking for is an "unsort" that restores rows to the (manual) order they were in before any sorting was applied.
    (Or does Numbers '09 permanently replace the pre-sorted order? That'd be a bit ...err ...'80s.)  ;-]

    Simon Poisson wrote:
    Thanks Jerry,
    Seems I assumed that sorting in Numbers '09 merely applied a reversible "view", much as its Insert Categories function does.
    For a Sheet with hundreds of rows, then, how would I apply the original order from a backup to the current edited, sorted rows?
    Or are we meant to manually locate and then drag each and every one of the hundreds of rows back to its original order? (That's about 6 hours or more of the unpleasant manual work that computers are supposed to do for us!)
    It's unfortunate that you made a false assumption about the sort feature. Numbers does indeed move the rows about as does every other spreadsheet app I've used.
    I wonder if there is anything in your data that you could sort on that would get you close to the original order. If you know how you would move the rows about, could you express that as a rule? If there's nothing in the data that is correlated to the order of the rows, then the order of the rows may not be extremely significant.
    Jerry

  • How can reference one table row? Thanks!

    Hi, everybody:
    I want to create table that one column reference another table row, for example:
    CREATE TABLE tab1 (...);
    CREATE TABLE tab2 (id ..., tmp tab1%ROWTYPE, ...);
    but display error message:
    ORA-00911: Invalid character
    that point the "%".
    Thanks very much!

    In Oracle, you can use the %TYPE and %ROWTYPE attributes only in PL/SQL code, not in SQL DDL statements.
    But you can use them in CREATE TYPE statements.

  • How to insert line or row in a table?

    Hi OAF experts,
    can anyone show me how to insert row or line in a table bean by setting the table.setAutoInsertion(false) ?
    Thank you.
    Jon

    As per Dev Guide:---
    The other change you can make is to suppress the default Add Another Row button behavior of adding a
    single row to the view instance associated with the table, so that you can handle the event with your own code.
    The following code example illustrates how to accomplish this:
    processRequest
    // Enabled add row and turn off the default "Add Another Row" table event
    // The add row event has to be auto-handled by developer in processFormRequest
    tableBean.setInsertable(true);
    tableBean.setAutoInsertion(false);
    processFormRequest
    if ((tableBean.getName()Equals(pageContext.getParameter(SOURCE_PARAM))) &&
    (ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM))))
    OAApplicationModule am = pageContext.getApplicationModule(tableBean);
    am.invokeMethod("handleInsertRow", null);
    // The ***AMImpl.java in which method "handlInsertRow" has been defined
    public void handleInsertRow()
    OAViewObject vo = findViewObject("voName");
    vo.invokeMethod("handleInsertRow");
    // The ***VOImpl.java which is associated with the table; and in which the
    // handleInsertRow is defined
    public void handleInsertRow()
    Row row = createRow();
    // Set any default attributes
    row.setAttribute(...);
    // Insert the row into the VO
    insertRow(row);
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • How to call a custom action class present in one DC from a different DC

    Hi Experts, I have to implement one email functionality in my project.This functionality works fine if I use the Standard EmailAction class present in com.sap.isa.cic.customer package,but we need to change the email IDs in some cases so,we need to cr

  • BPEL - multiple receive elements for same partner/operation

    Is it possible to have more Receive elements for same operation in one BP? I need to create a business process for approving requests in a number of steps. The process looks like this: RECEIVE (createRequest)= INVOKE (...) < REPLY (createRequest) REC

  • ORA-01033: ORACLE initialization or shutdown in progress , ORA-01113

    I got the following error while trying to log in to Oracle SQL plus ERROR: ORA-01033: ORACLE initialization or shutdown in progress I tried the following and here's what i got. Could you please help me rectify this error. SQL> connect sys/manager as

  • Multiple Context - Changing http server port

    Hi, Is it possible to change the firewall https port to different port? Normally in single context mode you can change it with this command. http server enable 4434 In multiple context mode there is no option for the port... http server enable ?

  • Display the sql statement with arguments with ojdbc14_g.jar

    Hi, I'd like to display the sql statements with ojdbc14_g.jar. So I've followed the documentation and set an OracleLog.properties file which is linked to my java program. The problem is the trace generated is huge and I only need the SQL requests wic