The Data

We'll need a table with the following format. This example is based on MySQL; please create yours however you would normally do it.

CREATE TABLE invheader ( invid int(11) NOT NULL auto_increment, invdate date NOT NULL, client_id int(11) NOT NULL, amount decimal(10,2) NOT NULL default '0.00', tax decimal(10,2) NOT NULL default '0.00', total decimal(10,2) NOT NULL default '0.00', note char(100) default NULL, PRIMARY KEY (invid) );

Then, put some values into it.


  Last Updated: 3/24/2010 | © Tony's jqGrid - a jQuery Plugin, 2010