Dynamic table count (removeInstance problem)

Hello guys,.

I am trying to create a table that has a column with auto-numbering (a kind of index). Each line has an addition / removal of button and every time I have add / delete a line, a desire to recalculate the index column because I want to order.

Everything works fine when I add rows to the table, but when I try to delete a line, I can't recalculate lines indices, Livecycle throw again a very generic exception "GeneralError: operation failed."

The code I use is as follows:

Form1. #subform [0]. Table1.Row1.Subform1.Add::click - (JavaScript, client)

rowNum var = this.parent.parent.index + 1;

this.parent.parent.instanceManager.addInstance (rowNum);

for (i = 0; i < this.parent.parent.instanceManager.count; i ++) {}

xfa.resolveNode ("Row1 [" + i + "]"). Cell2.RawValue = "" + (i + 1);

}

Form1. #subform [0]. Table1.Row1.Subform1.Remove::click - (JavaScript, client)

Try

{

rowNum var = this.parent.parent.index;

this.parent.parent.instanceManager.removeInstance (rowNum);

for (i = 0; i < this.parent.parent.instanceManager.count; i ++) {}

xfa.resolveNode ("Row1 [" + i + "]"). Cell2.RawValue = "" + (i + 1);

}

}

catch (Err)

{

App.Alert (Err);

}

I noticed that whenever I do a removeInstance, each operation that I do at the level of the table gives me this exception. I am a newbie of Livecycle is possible I'm missing something very basic here...

If you want to take a look at what I'm talking about, I have shared here http://wikisend.com/download/616276/test_dynamic_numeration.pdf

Any help will be much appreciated

Thank you!

Ok

I found a solution using the event layout: loan here

https://Acrobat.com/#d=tdpzltrl25yU2PkvgaQO9w

One less problem

Tags: Adobe LiveCycle

Similar Questions

  • I have a problem with a CS6 dynamic table creation

    I have 2 tables, 1 of them is caled 'user', the other a "cars" they are inked with a foreign key in the table of cars there is a column called UserID and takes the value of "user", so my question is I tried to make it dynamic table when the user is connected to display its cars that have his Userid on them only unfortunetly when I do this I get a blank table with nothing in it anyone can help me solve this problem. This is the code I use:

    <? php require_once('Connections/MyConnection.php');? >

    <? PHP

    initialize the session

    If (! isset {})

    session_start();

    }

    * Log out the current user. **

    $logoutAction = $_SERVER ['PHP_SELF']. » ? doLogout = true;

    If ((isset & & ($_SERVER ['QUERY_STRING']! = "")) {})

    $logoutAction. = '& '. htmlentities($_SERVER['QUERY_STRING']);

    }

    {If ((isset($_GET['doLogout'])) & & ($ {_GET ['doLogout'] == "true"))}

    to completely disconnect a visitor, you must delete the session varialbles

    $_SESSION ['MM_Username'] = NULL;

    $_SESSION ['MM_UserGroup'] = NULL;

    $_SESSION ['PrevUrl'] = NULL;

    unset($_SESSION['MM_Username']);

    unset($_SESSION['MM_UserGroup']);

    unset($_SESSION['PrevUrl']);

    $logoutGoTo = "/ cars/LogOut.php";

    If {($logoutGoTo)

    Header ("Location: $logoutGoTo");

    "exit";

    }

    }

    ? >

    <? PHP

    If (! isset {})

    session_start();

    }

    $MM_authorizedUsers = '1', 2;

    $MM_donotCheckaccess = "false";

    Restrict access to Page: grant or deny access to this page

    Function isAuthorized ($strUsers, $UserGroup, $strGroups, $UserName) {}

    For safety, first assuming that the visitor is NOT allowed.

    $isValid = false;

    When a visitor is connected to this site, the MM_Username of Session variable value equal to their username.

    So, we know that a user is NOT logged if this Session variable is empty.

    If (! empty ($UserName)) {}

    In addition to being connected, you can restrict access to only certain users based on a created ID when they connect.

    Analyze the channels in the tables.

    $arrUsers = explode (",", $strUsers);

    $arrGroups = explode (",", $strGroups);

    If (in_array ($UserName, $arrUsers)) {}

    $isValid = true;

    }

    Or, you can restrict access to only certain users based on their user name.

    If (in_array ($UserGroup, $arrGroups)) {}

    $isValid = true;

    }

    If (($strUsers == "") & & false) {}

    $isValid = true;

    }

    }

    return $isValid;

    }

    $MM_restrictGoTo = "/ cars/Home.php";

    If (!) {(((isset($_SESSION['MM_Username']))) & & (isAuthorized ("", $MM_authorizedUsers, $_SESSION ['MM_Username'], {$_SESSION ['MM_UserGroup']})))}

    $MM_qsChar = ';?

    $MM_referrer = $_SERVER ['PHP_SELF'];

    If (strpos ($MM_restrictGoTo, "?")) $MM_qsChar = "&";

    If (isset($_SERVER['QUERY_STRING']) & & strlen($_SERVER['QUERY_STRING']) > 0)

    $MM_referrer. = « ? ». $_SERVER ['QUERY_STRING'];

    $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar. "accesscheck =". UrlEncode ($MM_referrer);

    Header ("Location:".) $MM_restrictGoTo);

    "exit";

    }

    ? >

    <? PHP

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION < 6) {}

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION < 6) {}

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    $maxRows_cars = 10;

    $pageNum_cars = 0;

    If (isset($_GET['pageNum_cars'])) {}

    $pageNum_cars = $_GET ['pageNum_cars'];

    }

    $startRow_cars = $pageNum_cars * $maxRows_cars;

    $colname_cars = "-1";

    If (isset($_SESSION['MM_Username'])) {}

    $colname_cars = $_SESSION ['MM_Username"];

    }

    @mysql_select_db ($database_MyConnection, $MyConnection);

    $query_cars = sprintf ("" SELECT * FROM cars WHERE UserID = %s ", GetSQLValueString ($colname_cars,"int")");

    $query_limit_cars = sprintf ("%s LIMIT %d, %d", $query_cars, $startRow_cars, $maxRows_cars);

    $cars = mysql_query ($query_limit_cars, $MyConnection) or die (mysql_error ());

    $row_cars = mysql_fetch_assoc ($cars);

    If (isset($_GET['totalRows_cars'])) {}

    $totalRows_cars = $_GET ['totalRows_cars'];

    } else {}

    $all_cars = mysql_query ($query_cars);

    $totalRows_cars = mysql_num_rows ($all_cars);

    }

    $totalPages_cars = ceil($totalRows_cars/$maxRows_cars)-1;

    $colname_user = "-1";

    If (isset($_SESSION['MM_Username'])) {}

    $colname_user = $_SESSION ['MM_Username"];

    }

    @mysql_select_db ($database_MyConnection, $MyConnection);

    $query_user = sprintf ("SELECT * FROM 'user' WHERE Email = %s", GetSQLValueString ($colname_user, "text") ");

    $user = mysql_query ($query_user, $MyConnection) or die (mysql_error ());

    $row_user = mysql_fetch_assoc ($user);

    $totalRows_user = mysql_num_rows ($user);

    $colname_user = "-1";

    If (isset($_SESSION['MM_Username'])) {}

    $colname_user = $_SESSION ['MM_Username"];

    }

    @mysql_select_db ($database_MyConnection, $MyConnection);

    $query_user = sprintf ("SELECT FirstName, LastName FROM 'user' WHERE Email = %s", GetSQLValueString ($colname_user, "text") ");

    $user = mysql_query ($query_user, $MyConnection) or die (mysql_error ());

    $row_user = mysql_fetch_assoc ($user);

    $colname_User = "-1";

    If (isset($_SESSION['MM_Username'])) {}

    $colname_User = $_SESSION ['MM_Username"];

    }

    @mysql_select_db ($database_MyConnection, $MyConnection);

    $query_User = sprintf ("SELECT * FROM 'user' WHERE Email = %s", GetSQLValueString ($colname_User, "text") ");

    $User = mysql_query ($query_User, $MyConnection) or die (mysql_error ());

    $row_User = mysql_fetch_assoc ($User);

    $colname_User = "-1";

    If (isset($_GET['MM_Username'])) {}

    $colname_User = $_GET ['MM_Username"];

    }

    @mysql_select_db ($database_MyConnection, $MyConnection);

    $query_User = sprintf ("SELECT * FROM 'user' WHERE Email = %s", GetSQLValueString ($colname_User, "text") ");

    $User = mysql_query ($query_User, $MyConnection) or die (mysql_error ());

    $row_User = mysql_fetch_assoc ($User);

    $colname_User = "-1";

    If (isset($_SESSION['MM_Username'])) {}

    $colname_User = $_SESSION ['MM_Username"];

    }

    @mysql_select_db ($database_MyConnection, $MyConnection);

    $query_User = sprintf ("SELECT * FROM 'user' WHERE Email = %s", GetSQLValueString ($colname_User, "text") ");

    $User = mysql_query ($query_User, $MyConnection) or die (mysql_error ());

    $row_User = mysql_fetch_assoc ($User);

    $colname_User = "-1";

    If (isset($_SESSION['MM_Username'])) {}

    $colname_User = $_SESSION ['MM_Username"];

    }

    @mysql_select_db ($database_MyConnection, $MyConnection);

    $query_User = sprintf ("SELECT * FROM 'user' WHERE UserID = %s", GetSQLValueString ($colname_User, "int") ");

    $User = mysql_query ($query_User, $MyConnection) or die (mysql_error ());

    $row_User = mysql_fetch_assoc ($User);

    ? >

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < link href = "CSS/Layout.css" rel = "stylesheet" type = "text/css" / > "

    < link href = "CSS/Menu.css" rel = "stylesheet" type = "text/css" / > "

    "< link href="/Cars/CSS/VerticalMenu.css "rel ="stylesheet"type =" text/css"/ >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > Untitled Document < /title >

    < / head >

    < body >

    < div id = 'Holder' >

    < div id = "Header" >

    < div id = "HeaderContentRight" >

    < table width = "0" border = "0" align = "right" >

    < b >

    < td > logged in as: <? PHP echo $row_user ["FirstName"];? > <? PHP echo $row_user ['name'];? > < table >

    < td > < a href = "<?" PHP echo $logoutAction? > "> sign out < /a > < table >"

    < /tr >

    < /table >

    < / div >

    < / div >

    < div id = "NavBar" >

    < nav >

    < ul >

    "< li > < a href="/Cars/HomeAccount.php "> home < /a > < /li >

    < /ul >

    < / nav >

    < / div >

    < div id = "Content" >

    < div id = "PageHeading" >

    Welcome < h1 >, <? PHP echo $row_user ["FirstName"];? > <? PHP echo $row_user ['name'];? >! < / h1 >

    < / div >

    < div id = "ContentLeft" >

    Control Panel < h6 > < / h6 >

    < p > < / p >

    < ul id = "MyMainMenu" >

    < li > < a href="/Cars/Account.php" > account < /a > < /li > ".

    < li > < a href="/Cars/UpdateAccount.php" > update account < /a > < /li > ".

    < li > < a href="/Cars/CarManagment.php" > car management < /a > < /li > ".

    < /ul >

    < / div >

    < div id = "ContentRight" >

    < table border = "1" align = "center" >

    < b >

    CarBrand < td > < table >

    CarModel < td > < table >

    YearOfProduction < td > < table >

    < /tr >

    <? PHP {? >}

    < b >

    < td > <? PHP echo $row_cars ["CarBrand'];? > < table >

    < td > <? PHP echo $row_cars ["CarModel'];? > < table >

    < td > <? PHP echo $row_cars ["YearOfProduction"];? > < table >

    < /tr >

    <? PHP} while ($row_cars = mysql_fetch_assoc ($cars));? >

    < /table >

    < / div >

    < / div >

    < div id = "Footer" > < / div >

    < / div >

    < / body >

    < / html >

    <? PHP

    mysql_free_result ($CARS);

    mysql_free_result ($User);

    ? >

    Thank you for your time!

    Nowhere on this page I see that you have found the "UserID" variable that is used to query the database of cars everywhere.

    You must get that table "user" when a successful connection occurred.

    Go to your login page and find the code which queries the database (it will look something like the below, your request will be slightly different)

    $LoginRS__query = sprintf ("SELECT username, password loginUsers WHERE username = %s AND password is %s",

    MAKE SURE YOU add to THE QUERY "UserID" (see below.) This is the column of your 'user' table and the foreign key record unique identifier in your table 'cars')

    $LoginRS__query = sprintf ("SELECT UserID, username, password AND password loginUsers WHERE username = %s is %s",

    Then, find the lines of code below:

    $LoginRS = mysql_query ($LoginRS__query, $MyConnection) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    Include these two lines of code directly after the above code:

    $row = mysql_fetch_assoc ($LoginRS);

    $UserID = $row ['UserID']

    Can find these lines of code:

    If {($loginFoundUser)

    $loginStrGroup = "";

    Declare two session variables and assign them

    $_SESSION ['MM_Username"] = $loginUsername;

    $_SESSION ["MM_UserGroup"] = $loginStrGroup;

    Add this line of code directly after the above code:

    $_SESSION ['username'] = $UserID;

    Now, go to the login page of success (whatever you call that)

    Find the code at the top of the page below:

    If (! isset {})

    session_start();

    }

    Add the line of code below:

    If (! isset {})

    session_start();

    $userID = $_SESSION ['username'];

    }

    Look for the query:

    @mysql_select_db ($database_MyConnection, $MyConnection);

    $query_cars = sprintf ("" SELECT * FROM cars WHERE UserID = %s ", GetSQLValueString ($colname_cars,"int")");

    $query_limit_cars = sprintf ("%s LIMIT %d, %d", $query_cars, $startRow_cars, $maxRows_cars);

    $cars = mysql_query ($query_limit_cars, $MyConnection) or die (mysql_error ());

    $row_cars = mysql_fetch_assoc ($cars);

    and replace with:

    @mysql_select_db ($database_MyConnection, $MyConnection);

    $query_query_cars = "SELECT * FROM cars WHERE userID ="$userID "";

    $query_cars = mysql_query ($query_query_cars, $MyConnection) or die (mysql_error ());

    $row_query_cars = mysql_fetch_assoc ($query_cars);

    $totalRows_query_cars = mysql_num_rows ($query_cars);

    Now, you can pass the details of the car associated with the user ID in the 'user' table and a foreign key in the table "cars."

    You probably want to use a / while loop to get all the information from the database. With a DW repeat region behavior.

  • Problem with the name of the dynamic Table

    Hi all

    I can't using a dynamic table name. I have the following code...
    declare l_cur sys_refcursor;
    l_ID int;
    l_tableName varchar(30);
    BEGIN
    
    open l_cur for
    select hkc.ColumnID, mapping from &HKAPPDB_Schema_Name..doctablemapping ddm
    inner join &HKDB_Schema_Name..HKColumns hkc on hkc.doctablemappingid = ddm.id
    where ddm.id > 0;
    LOOP
         FETCH l_cur into l_ID, l_tableName;
         EXIT WHEN l_cur%notfound;
                
         -- update missing VerbID in DocumentDocMapping table
         UPDATE &HKAPPDB_Schema_Name..IndexedDocument 
         SET VerbID = (SELECT t.VerbID 
                             FROM (SELECT DocRef, VerbID, DateUpdated 
                                  FROM &HKAPPDB_Schema_Name..l_tableName dd        - this is where the dynamic table name is used
                                  WHERE dd.VerbID is not NULL))
         WHERE HKColumnID = l_ID AND VerbID is NULL;
    
    END loop;
    end;
    /
    When I try to execute it I get an error

    ORA-00942: table or view does not exist

    What I am doing wrong?

    Kind regards
    Toby

    You cannot use a variable instead of a table name. You must build the dynamic SQL. Search for IMMEDIATE EXECUTION or DBMS_SQL in Document Oracle.

  • Data does not save in the dynamic table

    My form has been active player and all the information can be recorded with the exception of the data entered by the user in the dynamic table.

    Should I change the binding of data?

    https://Acrobat.com/#d=SWkT2mrJBJbxk * QJGmN0Ng

    Appreciate any help!

    Tracy

    Hello

    OK, I found the root of all evil.

    To resolve this problem, you need to replace the script that caculates the dates in the dynamic table by another.

    Go to table calculate a remove the event script.

    Then, select the Date field in the first row of the table and add this script to its change event.

    var StartDate = $event.newText
    var DateFormat = "MM/DD/YY"
    
    if (StartDate ne $event.prevText) then
              var selectedDate = Date2Num(StartDate, DateFormat)
                var selectedDay = Num2Date(selectedDate, "DD")
              var selectedMonth = Num2Date(selectedDate, "MM")
              var selectedYear = Num2Date(selectedDate, "YY")
              var firstDay = Date2Num(Concat(selectedMonth, "/", "01/", selectedYear), DateFormat)
              var lastDay = 0
              var dayNumber = firstDay
    
              $event.change = Num2Date(firstDay, DateFormat)
    
              for i = 0 upto 30 step 1 do
                        if (Num2Date(firstDay, "MM") eq Num2Date(dayNumber, "MM")) then
                                  dayNumber = dayNumber + 1
                                  lastDay = dayNumber
                                  Table._Row.addInstance(1)
                                  Table.Row[i].Date = Num2Date(dayNumber - 1, DateFormat)
                                  Table.Row[i].Day = Num2Date(dayNumber - 1, "EEE")
                        endif
              endfor
              Table._Row.removeInstance(Table._Row.count - 1)
    endif
    

    https://Acrobat.com/#d=qEVfk * AbNz5qfmJqF * BovA

  • How to identify the last instance of a dynamic table row

    Hi all

    I'm trying to figure out how to create an action for my form in Livecycle Designer ES2, which will affect the last instance of a dynamic table row. I have a table with a repeatable row where the user will enter information about a part purchased and I have buttons that allow the user to add and remove the lines. I need to create a line extra addition button which will add a new instance of the repeatable table line (this is not a problem) and disable and change the background color of the first cell in the row added. The problem I have is how to have an action that affects the last instance of a line.

    If anyone knows how to do this in Javascript, I would appreciate some advice/help.

    Hello

    I think that it is beyond providing an action. You will have a need to write JavaScript directly.  When you call the addInstance method it returns the new line, if you can do something like;

    var line = Table1._Row1.addInstance ();

    line. TextField1.border.fill.color.value = "255,0,0";

    line. TextField1.access = 'protected ';

    To find the last line and do the same thing, you can do something like;

    var line = Table1.resolveNode ("Row1 [" + (Table1._Row1.count - 1) + "" "]" ");

    line. TextField1.border.fill.color.value = "255,0,0";

    line. TextField1.access = 'protected ';

    Concerning

    Bruce

  • xfa.host.gotoURL () in Adobe Reader / dynamic Tables to AcroForms?

    Hi all

    I have a dynamic array in my form of life cycle. Each row in the table contains a button that connects to an external PDF file (using xfa.host.gotoURL). The links work fine in Acrobat Pro 8, so far, so good... But when you click on the buttons in Reader 8, nothing happens. No error message or a security warning, nothing...

    I searched on the web and some forums for this problem and read between the lines of some posts, I came to guess that my lifecycle of the form will not work in Adobe Reader unless I have purchase the license of life cycle of the respective Extensions... :-/

    What exactly are my options now? I cannot get the buttons to work in Adobe Reader somehow (using JS) without having to buy the Reader Extensions? Or can I somehow to recreate the dynamic table of the form of the lifecycle using AcroForms in Acrobat 8 Pro to avoid the problem I have? If so, how can I add such a table using Acrobat form... Tools?

    Thanks for your help,
    Marcus

    You can use:

    app.openDoc (FilePath.rawValue);

    to open another form of Adobe.

  • AF:dynamic table Concept

    Scenario is,

    Supply.png

    The Image above is of form 6i, which I am to convert ADF file.

    You can see above, there are two attributes of no and no contract Plan, both are LOVs. they are cascade LOVs. Plan of LOV values depends on the value of selected LOV contract. A single contract can have multiple Plans. and a plan can have many more details.

    When the user select A contract North, then Plan No. After this detail table fills with data of this Plan. as I said a contract can have a lot of Plans, when the user returned to Plan LOV and select other lines of this plan a plan then detail fills too, but this does not remove the previous lines of populated areas. This means selecting a plan add up rows in detail.

    How can I accomplish this? Is dynamic table suitable?

    Ashish Awasthi

    J Dev Version: 11.1.2.4

    Are saying you that you need to recover a table based on the selection of data Plan and have the data be inserted into another table when recording?

    If Yes, you can view the lines feature the EO according to VO. Once you select a Plan, run the readonly VO and insert lines in the EO based VO dynamically.

  • How to add a dynamic table in DW CC?

    I'm relatively new to DW.  I am trying to set up a database where I can enter an area code and returns an array with the associated data (diseases in this area, for example).  I need a dynamic table for this, but DW CC does not have an object dynamic link in the "Insert" menu  Any help?  I am running on a Mac

    1. Click on the button "+" on the databases tab and create a database connection
    2. Under the links tab, create a recordset object
    3. In Design view, create a table
    4. Drag the names of the fields in the Bindings tab in a table cell

    1. At the bottom of the view Design make sure that 'table' is highlighted
    2. In the server behaviors tab, click the plus sign and the repeating region
    3. Click OK, save your work, and you have finished creating your first dynamic table.

  • a table that spans problem in the printed page.

    Dear all,

    I have a panelTabbed on the page and one of its content to the tab must be filled, so that i have included content in panelsplitter, so that only the content of the tab gets no printed not the entire page, I also have an af:table in the tab of cntent as follows
    <af:table value="#{bindings.xx_VO2.collectionModel}"
                                  var="row"
                                  autoHeightRows="#{bindings.xx_VO2.estimatedRowCount}"
                                  rows="#{bindings.xx_VO2.rangeSize}"
                                  columnStretching="column:c3"
                                  styleClass="AFStretchWidth"
                                  contentDelivery="immediate"
                                  emptyText="#{bindings.xx_VO2.viewable ? 'No data to display.' : 'Access Denied.'}"
                                  fetchSize="#{bindings.xx_VO2.rangeSize}"
                                  rowBandingInterval="0" id="t1">
    </af:table>
    The problem is that the table gets stretching correctly on the content tab, but not in the page opened with showPrintablePageBehaviour, the table border extends well but not the columns there is plenty of extra space after the last column...
    So, how can I do extended even in printablepage... ?

    Any suggestions?


    Kind regards
    David

    JDeveloper 11.1.1.5.0

    Hello

    : Solution set width of columns based on the OutputMode conditionally.
    See the article which explains the behavior and the possible solution for it.
    http://jobinesh.blogspot.com/2011/07/tips-on-using-showprintablepagebehavior.html

    Thank you
    Nini

  • Dynamic table not displaying not data

    First of all, I have searched high and low and have not been able to find a lot of help.

    That said, I tried to create a simple search/results page in Dream Weaver, I'm using ASP and sql express.  Ive been following the adobe tutorial and everything works like it says it should be, except that when in reality, you do a search and click on submit, the results page shows that dynamic table headers, but no data.

    On the results page, when I create the Recordset, if I am controlled, the data is displayed correctly.  However, on the page itself, nothing shows upward.

    Here are some example screenshots:

    recordset.JPG

    searchresult.JPG

    You populate your variable with the value of querystring:

    Request.QueryString ("frmUserSearch").  Is the name of the shape, not the form with the user name field.

    Your form field's "name ="username"

    Replace all references in your 'frmUserSearch' script 'username '.

  • Number of item in the dynamic Table Quirk

    I am a new user of LC, ramping up the speed on this package, thanks to all for the useful information here and elsewhere.

    By using the tips and info here,

    http://www.assuredynamics.com/wp-content/uploads/2010/11/assure-Dynamics-building-dynamic-tables.PDF

    I added a dynamic array of a form, I've worked on that.  Mostly, everything works, except the legend on the number of line/article.  So I yanked on the subform with the table top to create a single copy of the form to post here.  Get this... it works on the simple form.  So there is something to do in my not so simple form which prevents my line/workstation number.

    I hope if I post here the two forms, can someone help me solve this thing.

    It's the form that works:

    http://inthequeue.com/adobeLC/Template_excerpt.PDF

    It's the shape that doesn't work:

    http://inthequeue.com/adobeLC/Template_std.PDF

    Thanks in advance

    John Q.

    Hi John,.

    Try to change the code in the layout event: ready to go;

    This.Caption.Value.Text = (this.parent.index + 1) m:System.NET.SocketAddress.ToString ();

    TO;

    This.Caption.Value.Text.Value = (this.parent.index + 1) m:System.NET.SocketAddress.ToString ();

    It's adding another "value".

    Your form that works target Reader 8.0 or later and who only targets Reader 9.0 or later, I guess that's the difference.

    Concerning

    Bruce

  • dynamic table overlap other objects!

    Hello world


    I created a dynamic table with button to add a line


    Please can someone tell me how to avoid the overlapping of dynamic array objects below when several lines are created?


    what I wish is that the table bumps everything on its way like MSWord packaging option


    Please provide a flash tutorial if you can train a lot of people ask this topic

    Hello

    Use fluid page layout to avoid overlapping of table on other objects. This fluid layout must be set on the container parent (form/subform) of the table. Put also other objects in the same container. It results in dynamic container resizing, whenever the new row is added.

    Thank you.

    -

    Afonso

  • Dynamic table returns only a line

    Hello world

    I try to use a Recordset:

    "SOME concerts. EventDate, concerts. Location, concerts. Notes

    CONCERTS

    WHERE the concerts. "EventDate > = CURRENT_DATE.

    When I test the Recordset, I get 3 of the 5 records returned, which is exactly as it should.

    However, when I try to create a dynamic table to display the results - if I choose to show all records, or the default of 10 at a time, it shows the first line results from the Recordset.

    When I try to create a master-detail table and ask him to show one record at a time, it's there for that, but using the next/back navigation links, it takes me to other records, though one at a time.  That tells me that he doesn't know that there should be three records, but it only shows one.

    What am I doing wrong with the dynamic table, here?

    Thank you!

    I suggest that you start the page completely from scratch, because it seems that you made the rookie mistake classic to remove a dynamic object in Design view without realizing that any other PHP code is connected with it. When you work with dynamic objects, keep an eye on what is listed in the server behaviors panel. To remove a server behavior, select the referencing in the Panel and click the button "-" to remove it properly.

    In fact, you have two sets of records on the same page, that do the same thing. One is called to come, the other is called UpcomingShows. You get only a line showing in your table is because you use the recordset "to come". The Dreamweaver recordset code automatically retrieves the first record and then uses a do... while loop to create the region repeated in the table. What has happened is that your changes to the page have resulted in this line who appear before the repeat region:

    mysql_free_result($upcoming);
    

    This destroys the rest of the result of database before using it again. Therefore, only trace never appears.

    Dreamweaver always puts mysql_free_result() after the closing tag. Thus, it seems that your changes caused Dreamweaver to lose track of all the relevant parts of the server behavior. If you move this line to the bottom of the page, your table should work. However, as I said before, I think that it is better to start from scratch.

    One last thing: your SQL query contains the following WHERE clause:

    WHERE gigs.EventDate >= CURRENT_DATE
    

    It is an incorrect syntax for MySQL. It should be like this:

    WHERE gigs.EventDate >= CURRENT_DATE()
    

    CURRENT_DATE() is a MySQL function, not a constant.

    If all goes well, a little less head banging.

  • Alternatives to the dynamic tables for the display of dynamic data

    What methods are available for the display of the data to MySQL with PHP on a web page? Is there an alternative to a dynamic table when him varies the amount of data? whatever it is the basis of CSS?

    Thank you very much

    May 27, 2006 to macromedia.dreamweaver, mother of Pingus wrote:

    > if I could just output a div for example?

    Or a paragraph, or a

    , an unordered list, or any other container
    Tag, or the attribute src on a tag, or a combination any of the
    above. Consider the case where the database includes press releases-
    date, title, body. You might, say, do the repeat as this region:

    Press releases



    <& headlinefromdatabase="" &="">


    <& datefromdatabase="" &="">-<& bodyfromdatabase="" &="">



    Contact Information

    --
    Joe Makowiec
    http://Makowiec.NET/
    E-mail: http://makowiec.net/email.php

  • Dynamic table with random records

    What I'm trying to do is to select random records from a table and display them in a dynamic table with columns maximum equal to 3 and the 4th record to be on a new line. Here is what I have at the moment and he strives to select random records, but has no function to define the columns of a table. If there is a easier way feel free to let me know. I tried different ways to do it, but none seem not to work.

    < CFQUERY NAME = "getItems" DATASOURCE = "absi" >
    SELECT catfit.*, modcats.*, prodmat.*, prod.* FROM catfit, modcats,.
    prodmat, prod WHERE prodmat.prodid = catfit.prodid and catfit.catid is modcats.catid
    ORDER BY ASC modl < / cfquery >

    < cfif getItems.recordCount >
    < cfset showNum = 3 >
    < cfif showNum gt getItems.recordCount >
    < cfset showNum = getItems.recordCount >
    < / cfif >
    < cfset itemList = "" > "".
    < cfloop to = "#getItems.recordCount # '1' = ' index 'i' = >"
    < cfset itemList = ListAppend (itemList, i) >
    < / cfloop >
    < cfset randomItems = "" > "".
    < cfset itemCount = ListLen (itemList) >
    < cfloop from = "1" = "" #itemCount # "index 'i' = >"
    < cfset random = ListGetAt (itemList, plageAleatoire (1, itemCount)) >
    < cfset randomItems = ListAppend (randomItems, random) >
    < cfset itemList = ListDeleteAt (itemList ListFind (itemList, randomly)) >
    < cfset itemCount = ListLen (itemList) >
    < / cfloop >
    < cfloop from = "1" = "" #showNum # "index 'i' = >"
    < cfoutput >
    < table width = "205" border = "0" align = "left" cellpadding = "0" cellspacing = "0" >
    < b >
    ' (< td largeur = «235» height = «116» >< div align = «center» >< img src =»... /Products/ProductPictures/#GetItems.pic[ListGetAt(randomItems, i)] # "width ="100"> < / div > < table >
    < /tr >
    < b >
    < class td = "ProdTitle" > #getitems.brand [ListGetAt (randomItems,
    (i)] # #getitems.modl [ListGetAt (randomItems, i)] # < table >
    < /tr >
    < b >
    < class td 'paragraph' = > $# getitems.prc [ListGetAt (randomItems,
    (i)] # < table >
    < /tr >
    < b >
    "< td > < A href =".. /Products/details.cfm? ' ProdID = #GetItems.ProdID [ListGetAt (randomItems, i)] # "class ="linkcontact"> more
    Info < /a > < table >
    < /tr >
    < b >
    < td > < table >
    < /tr >
    < /table >
    < / cfoutput >
    < / cfloop >
    < / cfif >

    To start a new line after 3 disks, do something like this.







    #data #.

    You should also know that your approach is very inefficient in what you bring to cold fusion more data that you need. First you select all fields from 3 tables when you don't seem to use all the. Then, you select all the records and you only want to use 3. There are better ways out there, but they are specific db and you didn't say what you use.

Maybe you are looking for