After save, populated the Table lines are hidden

I have a Livecycle form that connects to a MS Access database. Everything works as expected with the exception of one question. If I have more row of tables not hidden and save the form, when I reopen it, all lines except the first row are hidden again. I check that the lines are visible when I save the form. Close it and when reopened, all but the first row are hidden again.

When the form opens initially empty, it connects to the database and there is only one visible line. The other 12 rows are hidden. I have a custom button that makes an extra line visible whenever it locks. I can't find any script that causes these lines to be hidden or invisible. Could the script database below be the cause? If I stop the problem ceases only I do not know how there about!


Form1.Subform1.EmployeeNo::exit - (JavaScript, client)
//HEADER SECTION
//Reset DB to first Record
//Walk thru all records to find highest file ID number
/*
var nMaxID =0;
//Reset DB to first record
var oDB = xfa.sourceSet.DataConnection1;
try{
oDB.first();
}
catch(e){
oDB.open();
oDB.first();
}
//walk thru all records to find latest file ID
while(!oDB.isEOF()){
if(xfa.record.DataConnection1.FileName.value > nMaxID)
  nMaxID = Number(xfa.record.DataConnection1.FileName.value);
oDB.next();
}
if((Subform1.FileName.rawValue ==null && Subform1.FileName.rawValue !="")){
 Subform1.FileName.rawValue = nMaxID + 1;
    oDB.addNew();
 Hide1.FileName1.rawValue = FileName.rawValue;
 oDB.update();
 Subform11.FileName.rawValue = Subform1.FileName.formattedValue;
 this.resolveNode("OrderDate").rawValue = util.printd("yyyy-mm-dd", new Date());
}
else {
 Subform1.FileName.rawValue = Subform1.FileName.rawValue;
}

Could you add an doc::ready event which displays the lines if they have something inside?

var stopPlayingHideAndSeek = xfa.resolveNodes(tblStuff.Row1[*]);

for (var i = 0; i

Edit: correction of the errors in code

Tags: Adobe LiveCycle

Similar Questions

  • How to check the table have are all views in oracle

    Hello
    How to check the table have are all views in oracle
    SELECT * FROM user_dependencies
    WHERE type='VIEW'
    AND referenced_type='TABLE'
    AND referenced_name ='Your_Table_Name' 
    

    You can use dba_dependencies to find views in the different schema.

  • save after focus leaves cell saves only the first line

    I want that every cell in a table to save when focus leaves the cell. It seems that any line I am on it will always save this value in the first row. After that, I think it seems to save the new value in the correct lines. How can ensure me that the relevant line is saving?

    This is the code for my laptop...
    < af:inputText value = "#{rank." Simple PublishedNotes}' = 'true '.
    required = "#{bindings." CIsForRR.attrDefs.Notes.mandatory}.
    columns = "#{bindings." CIsForRR.attrHints.Notes.displayWidth}.
    Binding = "#{bindings_app_ci_RR.inputText5} '"
    ID = "inputText5" lines = '10' autoSubmit = 'true '.
    valueChangeListener = "#{bindings_app_ci_RR.save_notes_action} '"

    Then my save_notes_action looks like this...
    {} public void save_notes_action (ValueChangeEvent vce)
    FacesContext ctx = FacesContext.getCurrentInstance ();
    Bind ValueBinding = ctx.getApplication ().createvalueBinding("#{data}");
    BindingContext, bc = bind.getValue (ctx) (BindingContext);
    DC DCDataControl = bc.findDataControl("AppModuleDataControl");
    AppModuleImpl am = (AppModuleImpl) dc.getDataProvider ();

    ViewObject vo = am.findViewObject ("RR");
    Line = vo.getCurrentRow ();
    prints the value of vce and the attribute of the current name of the lines
    String newVal = valueChangeEvent.getNewValue (m:System.NET.SocketAddress.ToString ());
    row.setAttribute ("Notes", newVal);
    am.getTransaction () .commit ();
    Refresh();
    }

    My impressions always printed the first line of name.

    Any help is appreciated! Thank you!

    That's because you manually make the change in your code:
    String newVal = valueChangeEvent.getNewValue (m:System.NET.SocketAddress.ToString ());
    row.setAttribute ("Notes", newVal);
    am.getTransaction () .commit ();

    Why not use a table can be changed with the binding of the ADF and simply let ADF do all the work for you.

  • based on the table line oaf page filter lines

    Hello

    Right now, I have the search page where the results are displayed in the region of the table.

    In addition, I have situation where I need to filter the lines and display the results in the background region based when you click on the row of table area...

    How can I achieve this?

    Please let me know.

    Thank you

    MK

    Managed to get this working?

  • CS2 automatically adjust the height of the content in the table line?

    Hi guys, I use CS2 and I have a table with many pages. I need to be able to have the height adjust automatically the content of the tables. Data are unfortunately not compatible so that some cells have 2 rows of content, others 8.

    • Automatically, adjust to the content is not available.
    • I have tried to adjust the height lines then "table" > "distribution lines", but obviously it's not good that some are too crowded, others too spacious.

    Any suggestion is appreciated.

    I think you're stuck to resize the width manually at this point...

  • Audit of the tables - what are the best ways to do so?

    Hi all

    DB version: 10g.

    Brief description of the problem: at the moment, I'm working on an application that has a java interface and oracle
    back-end. We have no access to the java code at all. So, it's a complete black box. . I was wondering, if I could go for a trigger level diagram to know which tables columns are altered on certain measures to the interface. Or, if I know the tables specifically, let's say A tab and tab B. I should go to a level trigger line on them, instead of going a
    schema level trigger. What approach will be the best? If possible, would you please point me to some code examples
    for each of them.

    Thank you.

    http://www.Oracle.com/pls/db102/search?remark=quick_search&Word=audit&tab_id=&format=ranked

  • NB200-10z: background is too big for the resolution - taskbar are hidden

    Hello

    I have a problem with the display on my netbook.

    The bottom is great for display and the taskbar are hidden under the bottom of the screen. (I can see it if I do a screenshot.)
    I tried all the usual settings on the screen, but cannot get the background to fit inside the screen.

    The driver is correct and I have the latest version of the bios update.
    His problem a simple solution, but I'm kinda stuck so any ideas would be welcome.

    Thanks in advance.

    Hello

    Have you tried to change the resolution of the screen?
    To do this. usually, this occurs if the resolution of the screen too high has been chosen.

    I put t know what OS you have, but here are a nice video of Microsoft:
    Change your screen resolution

    http://Windows.Microsoft.com/en-us/Windows7/change-your-screen-resolution

  • Windows 7 pro 64. The desktop icons won't stay where I put them. After a reboot, the desktop icons are always rearranged.

    I've set up my office while I have the following icons down the left side of the top in the following order: computer, network, System (C), (D) options, reader of DVD (E), trash.

    Whenever I restart my computer, the icons are rearranged as: computer, network, trash, reader of DVD (E), options (D), System (C).

    I don't want to add all the new icons on the desktop, because I know they won't stay where I put them. When I was using XP it would happen only when I changed resolution but with Win 7, it happens every time that I reboot.

    Reorganization of auto desk is off, snap to grid is turned off, sort by has verified. I use two monitors. All the gadgets that I have in my hand right 2ndary monitor are stay in place very well. The icons gives me the problem are on the left side of the left main screen.

    I made an image of my hard drive just after the installation of windows 7 and before to install the drivers of manufacturers and updates of windows.

    Today, I restored this image, reinstalled the drivers from manufacturers and made the updates of windows. The problem seems to have disappeared now.

    I am re-imaging my hard drive after you install the complete driver/updating. I hope I don't need to use it, but I will if I have to. I still don't know what caused it in the first place, but at least now I have an option of fast food if it happens again. I'll recreate the image on the hard drive after all major software install from that time, I have two images. A fundamental right after pilot installations and one after each installation of software.

  • ADF: How do the table line readonly based on condition

    Hi all

    I have a requirement in the ADF, where I need to read only the lines, once the end date (this column in my custom table) transmits the date system.

    How should I do this?

    (Please also specify where to write no matter what code - I'm a newbie).

    I thank very you much in advance!

    User, tell us your jfev version, please!

    The easiest way is to replace the method isAtributeUpdatable() of the EO, which presents the data of one of your lines of the table. Example for this can be found here http://andrejusb.blogspot.de/2009/12/overriding-isattributeupdateable-method.html

    Timo

  • Question how to freeze the top of the table line

    I try to freeze the top of a table row, so when you scroll the top line is fixed.

    I tried to use a CSS Style sheet and the link to the table. I can get the top row to freeze but the columns align not when you scroll the page.

    Thanks if anyone can help. It is my coding...

    < id of the table = "name of width ="1135"border ="2"align ="center"cellspacing ="2">"

    < thead style = "" >

    < b >

    < th = width "306" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < h3 > < style strong = "color: rgba (248,240,241,1)" > < facilities > data < / h3 > < /th >

    < th = width "62" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < AA h3 > < / h3 > < /th >

    < th = width "76" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < SSAA h3 > < / h3 > < /th >

    < width th = "111" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < strong data > < / strong > < /th >

    < width th = "111" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < data h3 > < / h3 > < /th >

    < width th = "63" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < data h3 > < / h3 > < /th >

    < width th = "44" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < data h3 > < / h3 > < /th >

    < width th = "43" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < EC h3 > < / h3 > < /th >

    < th = width "60" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < h3 > < strong data > < / strong > < / h3 > < /th >

    < th = width "37" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < data h3 > < / h3 > < /th >

    < th = width "60" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < data h3 > < / h3 > < /th >

    < th = width "107" bgcolor = "#B7383A" style = "color: rgba (247,238,238,1)" > < data h3 > < / strong > < / h3 > < /th >

    < /tr >

    < / thead >

    link to stylesheet to table

    @charset "utf-8";

    / * CSS document * /.

    / * Table Styles * /.

    table #name

    {

    border: 3px solid black

    }

    Th {}

    }

    border-collapse: collapse {;}

    border-spacing: 1;

    }

    Table #name th, table #vigor td {text-align: center}

    table thead {} #vigor

    line-height: 12px;

    text-transform: uppercase;

    position: fixed;

    padding: 0px

    }

    table thead th {} #name

    padding: 0px

    }

    If you could please help, I would appreciate...

    There is a trick to this:

    Fixed the Table header - http://alt-web.com/

    Nancy O.

  • SQL statement to select the tables that are updated today...

    Hi guys,.

    I need to find the names of all the tables that contain rows that are inserted/updated on a given time stamp...

    Below the statement gives me the list of all tables in the database...
    select t.table_name from all_tables t;
    All these tables in the database have a rowversion column which gives the date of update/insertion of a record. I need to write a select statement (probably dynamic) that will give me the names of the tables that contain the rowversion value 24/01/2013...


    Any help is appreciated...

    Napster says:
    Hi kitsoukou,

    Thanks for your reply...

    But when I run your select statement I get an error indicating that the table SYS. DBMS_XMLGEN does not exist.

    Probably something wrong in my environment?

    If I'm not mistaken there are DBMS_XMLGEN 9i.

    The source code is available under

    karthick% ls -lrt $ORACLE_HOME/rdbms/admin/dbmsxml.sql
    -rw-r--r--   1 oracle   dba         7977 Mar 23  2004 /home/oracle/product/10.2.0.5/rdbms/admin/dbmsxml.sql
    

    You can take this and run to install DBMS_XMLGEN.

  • SQL does not recharge after analysis of the table

    I run DBMS_STATS.gather_table_stats to scan the table but linked SQL does not charge, it still make a bad sql plan.
    When I do a grant on the table, the reloading SQL and make a good plan sql.
    Why not recharge after table SQL analyze?

    If you specify AUTO_INVALIDATE, you tell Oracle expire over time sliders (I think 30 minutes is the default window, but that might just be dependent on version). If you want the sliders to expire immediately, you will need to pass the FALSE value.

    Justin

  • How to save only the selected line

    Hi all

    I have a page master / detail with two regions advanced table.
    Region of the main table has a transient 'SelectFlag' attribute to display the detail records.

    When I make a few changes to a master record and save it is save all records on the page.

    I want to save only the selected record.

    How to get there?

    Help, please. :)

    You need to loop through the rows using RowSetIterator.

    Reference http://oracleanil.blogspot.com/2010/05/delete-exercise-delete-row-from-table.html

    -Anand

  • identify the tables that are affected by a transaction

    Hi guys,.

    I am running version:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE Production 11.2.0.3.0
    AMT for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production



    Is it possible to identify the SQL code or the tables involved in a transaction by looking at the transaction$ v?

    Just wrote a small application, but can't test it in my DB... Just check it...
    Basically CREATE all the views will provide some information.

    SELECT t.ses_addr,
           s.sid,
           p.object_id,
           D.OBJECT_NAME,s.command
      FROM v$transaction t,
           v$session s,
           V$locked_object p,
           dba_objects d
     WHERE     t.ses_addr = s.saddr
           AND p.session_id = s.sid
           AND d.object_id = p.object_id;
    

    The command column is a code displays what kind of operation is being currently... the explanation of the code can be mentioned in the documentation:

    http://docs.Oracle.com/CD/B19306_01/server.102/b14237/dynviews_2088.htm

    See you soon,.
    Manik.

  • How to find the tables that are used in a procedure

    Hello
    I need to write a SQL to find (user_source) procedures or triggers (from user_triggers), whose code contains the registerd tables in a table X.
    In other words, I have a table X with files having a column containing tables. I want to write a SQL to obtain these (proc, package and triggers) container objects or use the tables inside
    Can you help me?
    Thank you!

    Mark1970 wrote:
    Hello
    I need to write a SQL to find (user_source) procedures or triggers (from user_triggers), whose code contains the registerd tables in a table X.
    In other words, I have a table X with files having a column containing tables. I want to write a SQL to obtain these (proc, package and triggers) container objects or use the tables inside
    Can you help me?
    Thank you!

    I don't know if I understand your problem, but have you had a glance at the data dictionary views USER_DEPENDENCIES or ALL_DEPENDENCIES?

    It has classified hard dependencies of objects.
    If a table is used directly (not in dynamic SQL code in a string) in an object PL/SQL, the dependency is available in the stated points of view.

Maybe you are looking for