SELECT DISTINCT vendor FROM purchase UNION SELECT '' ORDER BY vendor ASCSELECT DISTINCT name FROM coffees UNION SELECT '' ORDER BY name ASCSELECT DISTINCT reference FROM coffees UNION SELECT '' ORDER BY reference ASCSELECT * FROM (VALUES('Lb'),('Kg')) AS q (unit)SELECT 'per unit' UNION SELECT 'total'SELECT DISTINCT origin FROM coffees UNION SELECT '' ORDER BY origin ASCSELECT DISTINCT region FROM coffees UNION SELECT '' ORDER BY region ASCSELECT DISTINCT producer FROM coffees UNION SELECT '' ORDER BY producer ASCSELECT DISTINCT grade FROM coffees UNION SELECT '' ORDER BY grade ASCSELECT DISTINCT milling FROM coffees UNION SELECT '' ORDER BY milling ASCSELECT DISTINCT drying FROM coffees UNION SELECT '' ORDER BY drying ASCSELECT DISTINCT decaf_method FROM decaf_coffees UNION SELECT '' ORDER BY decaf_method ASC
0)
{
for(var i = 0; i < descriptionArray.length; i++)
{
if(feesTable.data(i, 0, 0).value == '')
{
continue;
}
if(feesTable.data(i, 1, 0).value == '')
{
continue;
}
query.bind(":description", feesTable.data(i, 0, 0).value);
query.bind(":cost", Number(feesTable.data(i, 1, 0).value));
query.exec();
}
}
window.close();
});
this.showMaximized();
]]>