Making table rows unselected

I have a search form which displays results on table on the same page. But the problem is that when results are displayed in table, first row in table is selected by default. I want to make it non selected by default. How I can do it?

By default the first row of the table is selected. You can try setting the displayRow attribute of the af:table to selected.
Cheers,
Nick

Similar Messages

  • Making table row as current row on expand

    Hi,
    I am using JDeveloper 11.1.1.5.0
    I have a table with detailstamp facet enabled. Each row is having an arrow icon to expand that row.
    My issue is that the expand row action seem to work independently with the table row selection. When I expand any row, it doesn't make that row as current. I tried with the below code to make the table row current, but could not do it.
        public void makeCurrentRow(RowDisclosureEvent rowDisclosureEvent) {
            usersTable = (RichTable)(rowDisclosureEvent.getSource());        //usersTable is the binding of the table on the page
            RowKeySet discloseRowKeySet = usersTable.getDisclosedRowKeys();
            usersTable.setSelectedRowKeys(discloseRowKeySet);
            AdfFacesContext.getCurrentInstance().addPartialTarget(usersTable);
        }Please let me know how can i make the table row as current on expanding that row.
    regards,
    Rajan

    Hi Timo,
    Really sorry for my confusion.
    I tried with the example in the pdf. Below is the code
        public void makeCurrentRow(RowDisclosureEvent rowDisclosureEvent) {
            RichTable _table = (RichTable) rowDisclosureEvent.getSource();
            CollectionModel   _tableModel = (CollectionModel) _table.getValue();
            JUCtrlHierBinding _adfTableBinding = (JUCtrlHierBinding) _tableModel.getWrappedData();
            DCIteratorBinding _tableIteratorBinding = _adfTableBinding.getDCIteratorBinding();
            Object _selectedRowData = _table.getSelectedRowData();
            JUCtrlHierNodeBinding _nodeBinding = (JUCtrlHierNodeBinding) _selectedRowData;
            Key _rwKey = _nodeBinding.getRowKey();
            _tableIteratorBinding.setCurrentRowWithKey(_rwKey.toStringFormat(true)); 
            AdfFacesContext.getCurrentInstance().addPartialTarget(usersTable);
        }the example is not making the expanded row as current one. I am still getting data for 1st row only. I tried adding the partial target to my usersTable in the end. but that too...didn't work.
    Please let me know where i am missing.
    regards,
    Rajan

  • WD4A table row unselectable

    Hi ,
    I have developed a WD4A application comprising 3 views. 2 views provide overview screens to 2 different groups of users where they can select the learning forms based on various selection criteria. The third view is to actually show the details of the selected form.
    I have designed one function module to be used by both the overview screens. The function mosule takes the filters via an input structure and returns a table as output. Each view has a table control which is bound to the output table and will show different combinations of columns which are defined at design time itself. So I have 2 table controls in 2 views which are bound to the same context node. The issue is that in one of the views, I am able to select table rows via lead selection, but in the other view the lead selection is not possible. can anyone help?
    Context node details:
    Cardinality     0..n
    Selection     0..n
    Initialization Lead Selection     X
    Singleton     X
    Regds
    Thiru

    The properties for both the tables are the same
    First View:
    ID     TABLE
    accessibilityDescription     
    dataSource     LEARNERVIEW.Z_LMS_INBOX_GET_DATA.EXPORTING_1.P_EXDAT
    design     standard
    emptyTableText     
    enabled     1
    firstActualRow     0
    firstVisibleRow     0
    firstVisibleScrollableCol     
    fixedTableLayout     0
    footerVisible     1
    gridMode     both
    legendId     
    readOnly     0
    rowCount     -1
    rowSelectable     1
    scrollableColCount     -1
    selectedPopin     
    selectionChangeBehaviour     auto
    selectionMode     auto
    tooltip     
    visible     Visible
    visibleRowCount     5
    width     700px
    Events     
    onFilter     
    onLeadSelect     FORM_SELECT
    onScroll     
    onSort     
    Layout Data (FlowData)     
    cellDesign     padless
    vGutter     none
    Second View:
    ID     TABLE
    accessibilityDescription     
    dataSource     APPROVERVIEW.Z_LMS_INBOX_GET_DATA.EXPORTING_1.P_EXDAT
    design     standard
    emptyTableText     
    enabled     1
    firstActualRow     0
    firstVisibleRow     0
    firstVisibleScrollableCol     
    fixedTableLayout     0
    footerVisible     1
    gridMode     both
    legendId     
    readOnly     0
    rowCount     -1
    rowSelectable     1
    scrollableColCount     -1
    selectedPopin     
    selectionChangeBehaviour     auto
    selectionMode     auto
    tooltip     
    visible     Visible
    visibleRowCount     5
    width     700px
    Events     
    onFilter     
    onLeadSelect     FORM_SELECT
    onScroll     
    onSort     
    Layout Data (FlowData)     
    cellDesign     padless
    vGutter     none

  • Making A Row Of Thumbnails The Same Size As The Screen Monitor No Matter What Montior You Use

    I am making a website and am trying to get the row of thumbnails/cells (which contain 5 thumbnails across each set in a cell) to be the same length as the screen monitor so that you do not have to scroll horizontally across to see more cells/thumbnails in the table.
    Here is the thing.  When I first started making tables, I was making actual pixels to fit MY screen size, but then I found when I looked at the website on another computer the tables came out different sizes (because of different size monitors I assume).  So, I changed the tables from pixels to 100% and that seemed to do the trick.  Whatever computer I pulled the website up on, the tables extend perfectly across the monitor screen to its fullest extent and without having to scroll horizontally.
    The next part of the website involved adding thumbnails of images.  So I made a table 6 rows across by 5 columns down.  And I put a thumbnail in each cell, so that 5 thumbnails went across the row.  I also set the table width to 100% just like I previously did for my heading table.  When I tested it on a laptop computer it seemed perfectly fine and the 5 cells in the row extended across exactly to the length of the monitor.  But, then when I opened it up on a desktop computer, I had a problem.  What you see is 4 of the columns on the monitor and then the fifth column is further to the right off the screen, which makes you have to move a horizontal scroll bar to see the fifth column.  This table is also not flush with the heading table either obviously, although I have both set to 100%.
    I don't know if my problem has to do with the table I made or the image sizes in Photoshop.  In photoshop after I had scanned the image I went to "Image Size" and reduced the "document size" width to 1.5 cm to make the image come out a lot smaller.  Should I be doing something different in Photoshop when changing the "Image Size"? Maybe saving it as a different measurement (choices are percent, inches, cm, mm, points, picas, columns)?  Or, do I need to change something with my table/cells?
    Anyone know?
    Thanks.
    P.S. I will post this in Dreamweaver and Photoshop, to get a little more help.

    If I have to accept the fact that this table I made can't fit each person's monitor screen, then ok, but at least have it to where all the tables are flush with each other.  If you take a look at the website URL I posted, every table I made for this page is set to 100%.   No matter what computer I pull up the webpage, the heading tables and bottom copyright table come out to 100% of the screen size like it should.  It is the tables I have for the pictures that extend pass this and make a horizontal scroll bar necessary and are thus not flush with the other tables.  And,I figured out why.  When I resized my images in Photoshop, I set the width of each thumbnail to 177 px.  I also have 30 px padding on both the left and the right side of each cell (60 px total).  So, calculating this we have: (177 px x 5 images across = 885 px) + (60 px padding x 5 cells across = 300 px) = 1185 px....an EXACT amount (which is MORE than my screen width) and OVERRIDES the 100% I set for the table.  Therein lies the problem.
    So, what I need to figure out is how to make either the cells or images adjust accordingly to fit the actual width of the monitor; 5 cells across = 20% each cell = 100% grand total across.
    Follow me so far?
    I know there has to be a way.  I've seen other pages that can do it.  I will keep trying and eventually figure it out.
    Thanks for the help.
    From http://www.awdsf.com/courseware/html/html2_tables.htm:
    " A website that         requires side scrolling is considered very un-professional."
    And I couldn't agree more with this statement.

  • How to verify that the user has changed table row data before db update

    Hi all,
    Iam using Oracle ADF with EJBs.
    I have a single selection table that displays rows of data returned from a function of my data control.
    The columns of my table are editable so that the user can change the data. The user selects a row, changes the data in one or more columns of the row and saves the data by means of a submit button. The code in the submit button, identifies the row of the corresponding iterator that the user clicked on and updates the data in the database (using the 'mergeEntity' function of the EntityManager)
    Before saving the data, I want to put some logic to check whether the user has actually changed some data to avoid unnecessary updates in the database . But for this I need a technique to detect that the user has indeed changed some data in the table row.
    One technique I have been using so far was to isolate the iterator row of the table and then query the corresponding row in the database table and compare their values.
    Except from dummy, this technique is not efficient if the table contains many rows.
    Moreover, in my case I have observed that on successive updates on the same row , the query on the database returns the new values (user changed values) and not the actual values contained in the database table. This means that when the user updates an iterator row the cached data affect also the results of the SELECT statement from the actual database table!!! Isn't this strange ?
    Can somebody propose me a neat method to detect when the user has changed the the data of an iterator row ?

    Hey Alan,
    The below solution seems overly complicated to me and can not be implemented without a custom screen and/or the use of JavaScript. Also, if your main concern is that a user may accidentally loose all their data because they closed the browser window or the session times out before they hit the save button then this solution does not help you.
    There are a couple of simpler approaches you can take here:
    # If the use of JavaScript is permissible you can hook into the windows 'onUnload' event, and pop-up a message box which gives the user the opportunity to cancel closing the window and save their case if they haven't already.
    # Implement an autosave feature by hooking into one of events provided by web determinations. A simple (but rather naive) way of doing this would be to hook into the OnRenderScreenEvent and call save on the interview session every time the event fires. This guarantees that all the data the user has submitted will aways automatically be saved, thereby removing the need to make sure the user manually saves their data before closing the browser.
    Automatically making Web Determinations close a browser window has to be done using JavaScript. However, doing so means that a) it won't work for people who turn off JavaScript, which is commonly done for accessibility reasons b) you'll likely run afoul of the browser's security mechanism (they generally won't let you close a window that you didn't open and some really don't like you doing that at all).
    Thanks,
    Kristy

  • DW CS3 Unexpected table row growth.

    upgraded to CS3 from DW8, DWMX and found the following
    problem with my pages.
    I should say with the way they display in DW CS3.
    The problem is that the row expands in design view to
    accommodate the variable names, unlike previous prevouse versions
    that display the table at its true size.
    In this example:
    <td colspan="2" class="smallbutton"><div
    align="left">
    <%=(KT_escapeAttribute(rsPub_Participant.Fields.Item("sFName").Value))%> 
    <%=(KT_escapeAttribute(rsPub_Participant.Fields.Item("sMName").Value))%> 
    <%=(KT_escapeAttribute(rsPub_Participant.Fields.Item("sLName").Value))%></div>
    </td>
    Under older versions the table row will not grow to
    accommodate each of the fields. But in DW CS3 it does making it
    difficult to design a page.
    Question: How can I turn this off "fix it"?
    Thanks
    Mark this message as the answer.

    In Preferences > Invisible Elements, set "Show dynamic
    text as" to "{}"
    HTH,
    Randy
    > The problem is that the row expands in design view to
    accommodate the variable
    > names, unlike previous prevouse versions that display
    the table at its true
    > size.
    >
    > In this example:
    > <td colspan="2" class="smallbutton"><div
    align="left">
    >
    <%=(KT_escapeAttribute(rsPub_Participant.Fields.Item("sFName").Value))%> 
    >
    <%=(KT_escapeAttribute(rsPub_Participant.Fields.Item("sMName").Value))%> 
    >
    <%=(KT_escapeAttribute(rsPub_Participant.Fields.Item("sLName").Value))%></div>
    > </td>
    >
    > Under older versions the table row will not grow to
    accommodate each of the
    > fields. But in DW CS3 it does making it difficult to
    design a page.
    >
    > Question: How can I turn this off "fix it"?

  • Digital Signatures and Table Row Add/Delete

    I have a table that I want to add or delete rows but one of the cells in the row is a signature field; that column, always has a signature field. In the past, I have noticed that Adobe Livecycle Designer prevents the typical add or delete function (.addinstance(0)) when a digital signature field is present. I was wondering if there is a work around. One thought I had was having say 15 rows but hiding 10 of them. The add button would unhide the hidden rows up to the 15 total rows. The delete button would hide rows down to a min of 5 shown.
    I was wondering if anyone know whether or not this would work and what the syntax would be. Also, is anyone aware of other work arounds?
    Thanks,
    Mallard27

    Signatures can only be placed on the form statically, so having a repeating (1 to many) dynamic subform with a signature is invalid and is not allowed by designer. I think mostly since a signature field cant be created dynamically, it must exist in the pdf prior to loading.
    However, You still can have multiple signatures in a static table as you suggested, making the rows visible/hidden depending on content and cant see why it wont work. But you will need to careful with it. I would presume you will need to make sure you are displaying all rows and then hiding those not in use. Doing the opposite will invalidate signatures. Invisible signatures are not the same as visible signatures and will be invalidated and removed. You should probably only create a new line when needed on a button action, since any hiding will invalidate the previous signatures (since its a form change). You cant lock all fields with multiple signatures and will get errors, so you will have to use form object collections and assign each one to an individual signature ( if fields are involved).
    Also, If you are using any LiveCycle server components at all, I'm not sure about the level of support there is for processing multiple signatures. I probably think it would have to be done by a custom component to read the multiple signatures on the submitted xfa data.
    There is further background about xfa signatures (a bit older reference) here http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/digisig_ in_XFA.pdf
    Sorry, meant to reply to original post. Message was edited by: dohanlon

  • Is it possible to enable/disable table row selection?

    I have a situation where a user can add rows to a "selection" table with a value that is used to perform a query to get a collection of objects associated with that value. Once those objects are available, a second "results" table will be populated with the row(s) returned. When the value is entered in the selection table, a web service call is made to perform the query and return the results. This may take a few moments and I am displaying an indeterminate progress indicator for the selection table row involved to indicate that the data is not yet available - the progress indicator is included as a column in the row; each row has its own indicator. Once the results are received the indicator is hidden to indicate the query for that row has completed. The user may enter as many rows in the selection table as they wish so there is a distinct possibility of multiple queries being executed at a given time. I have also attached a row selection listener to the selection table such that when a given row is selected, the results table will display the corresponding associated row(s).
    What I'd like to be able to do is somehow temporarily disable the selection of any row that has a query in progress, while leaving other rows whose queries have completed be selectable. Once the query completes, the row can then become selectable, thus allowing for the results to be loaded and displayed in the results table. The way it works right now, if the row is selected while the query is still in progress, nothing is displayed (obviously), but then the row has to be re-selected after the query has completed to see the results. This is a viable (though undesirable) solution/workaround if there is at least one other row in the table. However, if the row is the only row in the table and has been selected, it cannot be re-selected (there's no other row to select to allow for re-selection). To boil it down, what I'd like to do is prevent the selection of the row until the query for that row is complete.
    After perusing the JavaFX 2.2 API, I'm not seeing any obvious way to achieve this effect. If anyone has any solutions, suggestions, etc. on how this could be done I'd appreciate it greatly.

    Here's an [url https://github.com/james-d/Conditionally-selectable-table]example. As predicted, keyboard navigation fails if the keyboard presses would result in an unselectable item being selected using the default selection model. The best workaround I can see for this is to register event filters for the appropriate keyboard strokes, as in the previously referenced thread.
    Update: That code won't run in the current (ea b90) release of JavaFX 8.0, and probably a few recent releases; it will however run in the final release (and it runs in JDK 7). See [url https://javafx-jira.kenai.com/browse/RT-30593]RT-30593
    Edited by: James_D on May 22, 2013 7:51 PM

  • CSS issue when changing the table row height to 16px

    Hello,
    After changing the table row height through css like this:
    .table-row-cell, .table-cell {
    -fx-cell-size: 16;
    the table rows are correctly displayed with a 16px height but the cell bottoms seem to be incorrectly set.
    For example the following css style (a red 3px bottom border):
    .table-cell {
    -fx-border-width: 0 0 3 0;
    -fx-border-color: red;
    doesn't work anymore with the new row height whereas it works with the 24px standard row height.
    While investigating with Scenic View, I noticed that changing the row height changes the TableRow layoutBounds height (from 24px to 16px so that's ok) but not the boundsInParent height which remains to 27px. I think it should become 19px (16 + 1.5 + 1.5). I don't know if it's a bug.
    Anyway, any help making the css red border working for a 16px row height would be greatly appreciated.
    Regards,
    Bruno.

    Q: Would this help to just use absolute div tags and give me 'ABSOLUTELY ABSOLUTE' positioning?
    No.  APDivs are not a good primary layout method.  Use default CSS positioning (which is no positioning at all).  Align page elements with margins, floats and padding.
    See example -- 2-Column CSS Layout with Grids
    (View Page Source in your browser to see the code)
    http://alt-web.com/TEMPLATES/2-col-fixed-with-grid.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • View a single table-row as multiple rows in a GridControl

    Hi,
    is it possible to distribute the entries of a single row of a table/RowSetInfo over multiple lines of a GridControl?
    I've seen an example on the Internet (http://www2.gol.com/users/tame/swing/examples/JTableExamples4.html) which does this without database connection but it seems as if it's necessary to replace the default JTable, TableModel and UI by customized ones. As far as I've seen it's not possible to replace the JTable which is used by a GridControl? So is there any other way to do this? (A modification of the JTable-UI itself doesn't suffice as the JTable yields wrong row- and column-numbers on mousclick-events and therefore the components of the second row are not enabled properly).
    Thanks in advance
    null

    |I've seen an example on the Internet |(http://www2.gol.com/users/tame/swing/exampl|es/JTableExamples4.html) which does this |without database connection but it seems as |if it's necessary to replace the default |JTable, TableModel and UI by customized |ones.
    You wont be able to replace the JTable. But you can change all the attributes on the internal table which the grid uses (see getTable() method). The datamodel for the grid is impemented by oracle.dacf.control.swing.GridDataSource. You can possibly extend this class. You can also change the Table column model and the renderers used by the Table.
    |So is there any other way to do this? (A |modification of the JTable-UI itself doesn't |suffice as the JTable yields wrong row- and |column-numbers on mousclick-events and |therefore the components of the second row |are not enabled properly).
    Could you expain how the mapping between cell renderer and the table (row, col) is done in the extended JTable - which class ?.
    (http://www2.gol.com/users/tame/swing/exampl|es/JTableExamples4.html)
    null

  • Opening a new view in a new window on click of a table row entry.

    Hi Guys,
    How to open a new View of a same application in a new window (just like a pop up) on a click of a Table Row entry?
    I am using NWDS 7.0 version. So please suggest acccorrdingly.

    Hi Nikesh,
    first of all you will have to declare use of onLeadSelect event handler for your table (note that it will only be triggered when a lead selection occurs not a multiselection).
    Also, you can build at design time a View and a Window (for example, PopupWin) in your WebDynpro Component, and embed the view into the window.
    In your code for onLeadSelect function, you can use something like this to pop up the window.
    public void onActionRowSelection(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionSeleccionTabla(ServerEvent)
        IWDWindowManager windowManager = wdComponentAPI.getWindowManager();
        IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("PopupWin");
        IWDWindow window = windowManager.createModalWindow(windowInfo);
        window.setWindowPosition(WDWindowPos.CENTER);
        window.setWindowSize(new WDCssSize(450, WDWindowUnitOfLength.PX) , WDCssSize.UNDEFINED);
        // Store handle ti window in context attribute to able to close it later
        wdContext.currentContextElement().setPopup(window);
        window.show();
        //@@end
    Hope it helps,
    David

  • How to pass hidden field values on a click of a table row

    hi all,
    href = "bookAndNonBook.do"
    I am very new to struts. I have created a table using displaytable tag which displays results in a tabular format. In addtion, i have a hidden field (prodType), the table rows are getting highlighted when i get my mouse on a particular row.
    Following is the code from the results.jsp file
    <body
    onload="addRowHandlers('row', 'rowMouseOver')"
    bgcolor="#FFFFFF" text="#000000" leftmargin="100" topmargin="50"
    marginwidth="" marginheight="" rightmargin="30">
    <html:form action="/bookAndNonBook" method="post">
    <display:table name="sessionScope.productSearchList" id="row"
    sort="list" export="true" defaultsort="1" defaultorder="ascending"
    pagesize="15" decorator="org.displaytag.decorator.TotalTableDecorator"
    class="dataTable">
    <display:column property="prodType" title="ProdType" class="prodType"
    headerClass="prodType" media="html" />
    <display:column title="Title" property="titleName" sortable="true"
    class="title" headerClass="title" />
    </display:table>
    </html:form>
    </BODY>
    I am calling a funtion addRowHandlers which passes the table id (which is row) and the rowMouseover for highlighting the rows on mouse over.
    the code for function addRowHandlers is
    function addRowHandlers(tableId, rowClassName) {
    var previousClass = null;
    var table = document.getElementById(tableId);
    var rows = table.getElementsByTagName("tr");
    for (i = 1; i < rows.length; i++) {
    rows.onmouseover = function () {
    previousClass = this.className;
    this.className = this.className + " " + rowClassName ;
    this.style.cursor="hand";
    rows.onmouseout = function () {
    this.className = previousClass;
    this.style.cursor='';
    rows.onclick = function (){
    var cell = this.getElementsByTagName("td")[0];
    var ProdType = cell.innerHTML;
    alert("value of prodType = " + ProdType);
    when i run the above code and click on a particular row it returns me the value in the hidden field i.e. prodType for that particular row
    Now where i am having problem is i want that on the basis of prodType my jsp file should call different actions for different prodType as returned....somwhat a function like this
    function submitProduct(prodType) {
    if(prodType == "BK")
    resultsForm.action = "/bookProduct.do";
    else if(prodType == "NB")
    resultsForm.action = "/nonbookProduct.do";
    but i am unable to figure out that how do i this..
    Any help will be really appreciated
    Thanks
    Sam

    can you please suggest some good struts forums where i can post my question
    thanks in advance
    Sam

  • Table.rows.find() returns null in a table where the row exists.

    Hi...
    I am working in a Project in Visual Studio 2013 where I have to read an Excel report related with a list of business opportunities. Some of the Fields that are involved in it are:  Opportunity ID, BU, Account, close date, Account Manager,
    Total Value and so on. As soon as I get the conection with the Excel Report, I fill a DataTable and declare the columns [Opportunity ID] and [BU] as my Primary Keys.  In that way, an Opportunity value may have one o more rows
    with different BU code each of them.  In consequence, you can define one row in the table if you specify the [Opportunity ID] and the [BU] values.
    My problem starts when I try to get information of those rows that have an specific value of [Opportunity ID]. For that situation I make a "foreach" structure where I check the BU codes that are involved with that Opportunity. So
    I use the Find() Method to get the information of the row specified by the Opportunity ID and BU.  The first time it goes to find the information it gets the results successfully but in the next cycle changing just the [BU] using the same [Opportunity
    ID] value, the find() method returns a "null" and I do not know why because I am sure that the row exists in the table.  I have verified the "Unique" property for the  [Opportunity ID] and [BU] columns (which are
    my primary keys)  and they are in false which is OK.
    I share the code that I am using...
    Hope someone can help.
    Thanks.
    Alfmar.
    void ObtenTotalesxBUs(string Opportunity, string[] BUs, Object[] TotalBUs, Object[] ExpTotalBUs)
    ArrayList TotalesBUs = new ArrayList(); //Required information from the row.
    ArrayList ExpTotalesBUs = new ArrayList(); //Required information from the row.
    foreach(string businessUnit in BUs)
    Object[] LlaveBusqueda = { Opportunity, businessUnit }; //Provide values to the Primary Keys.
    DataRow RenglonInfo = null;
    RenglonInfo = TablaFunnel.Tabla.Rows.Find(LlaveBusqueda); //Find method receives the Primary Keys values. Here is where I have a "null" in return the second time changing just the [BU] field.
    TotalesBUs.Add(RenglonInfo["Total"]); //Get the required information from the row.
    ExpTotalesBUs.Add(RenglonInfo["Expected Total Value"]); //Get the required information from the row.
    TotalBUs = TotalesBUs.ToArray();
    ExpTotalBUs = ExpTotalesBUs.ToArray();}

    Hi Viorel..
    Thanks a lot for you help.
    I am absolutely sure that the second ítem of BU is valid and exist in the table because I tried to make a "Select" statement in the table providing the values of [Opportunity ID] and [BU] and I get the expected record. So, why is not
    working using Find() with the defined Primary Keys??? 
    I tried this in order to test that the record exists...
    if(RenglonInfo == null)
    string strSelect = "[Opportunity ID] = '0000218256' AND [BU] = 'SFW'";
    RenglonInfo2 = TablaFunnel.Tabla.Select(strSelect);

  • Check for empty table row before adding date

    On the form below, when I click the green + button (far right), a new table row is created with today's date. the user can then enter more text to the right of the date. Problem is when the form is saved and reopened, the text the user enters is deleted and new today's date added because it is in the intialize event. How do I script to check and make sure each dated row is empty before adding today's date?
    https://acrobat.com/#d=qTINfyoXA-U6cDxOGgcSEw
    Thanks,
    ~Don

    Hi Don,
    One option would be to use the caption area of the textfield for the date and leave the value portion free for the user to input their data:
    if (xfa.resolveNode("this.caption.value.#text").value === "") {
              this.caption.value.text = util.printd("[mm/dd/yy] ", new Date() );
    See here: https://acrobat.com/#d=VjJ-YsXLKmV6QU84JrAAIw.
    Hope that helps,
    Niall

  • Pl/sql table - row type records

    Hi,
    Is there any limit on the number of records that a pl/sql table (row type) can accomodate.Iam using oracle 10g

    user11200499 wrote:
    I have gone thru that url, nothing on the maximum number of records that can be present in pl/sql table is given there. Will be very helpful if you can let me know if there is any such limitation.There is no such thing as a PL/SQL "+table+". A table, in Oracle terminology, means colums and rows and indexes and the ability to scale data, effectively read and process and filter and aggregate data.
    A so-called PL/SQL "+table+" is nothing at all like this.
    The correct term for it, and used in all other programming languages, are arrays (procedural term) and collections (object orientated term).
    An array/collection is a local memory structure in the unit of code. In PL/SQL, that means PGA (process global area) memory. And as this uses server memory, you should not abuse it and only use as much that is truly needed.
    Make a PL/SQL array/collection too large, and PGA grows.. and can have a very negative impact on performance. It can even cause the server to crawl to halt, where you will struggle to enter a commandline command on the server as it is spending 99% of CPU time trying to deal with memory requests and page swapping.
    So what do we then use arrays/collections for in PL/SQL?
    For the very same reason we use in any other programming language - dealing with managing local programming data in a more effective memory structure. Such as bulk processing when requiring a buffer variable that can be passed to and from the PL and SQL engines.
    This does NOT mean using it as you would use it as if it is a SQL table. As it is not.
    So to answer your question of how large a PL/SQL array or collection can be? That depends entirely on the problem you are trying to solve. If it is for example bulk processing, then typically a collection of a 100 rows provides the best balance between the amount of (expensive) PGA memory being used versus the increase in performance by reducing context switching between the PL and SQL engines.
    If the rows are quite small, perhaps even a 1,000 row collection. More than that seldom decreases context switching enough to justify the increase in expensive PGA.
    So what should then be used to store larger data structures in PL/SQL? GTT or Global Temporary Tables. As this is a proper SQL table structure. Can be indexed. Natively supports SQL. Can scale with data volumes.
    And most importantly, it does not consume dedicated process memory and will not blow server memory.

Maybe you are looking for