Welcome to the ninth part of a thirteen-part series on HTML database forms. In the previous part we began our discussion of Tabular forms, having dealt with Single-Row forms up until that point. In this part we continue our discussion of what functions to use with Tabular forms and how they are different from their Single-Row counterparts.
Tabular Database Form Functions with HTML - The includeInTransmittedTable() (Page 3 of 5 )
With the Single-Row Form the recordset did not have Input Text Controls. This has to be taken into consideration here. This is the new includeInTransmittedTable()function with an associated variable:
//variable for row index of the Transmitted table
var indexTT = 0;
//function to include the processed data row to the Transmitted table
function includeInTransmittedTable(Decision)
{
var recordsetRowNo = numberOfRows - 1;
var check = -1; //to check if recordset row has already been edited.
var oldIndexTT;
//When Decision is EDITED first check if the recordset row has already been edited.