Hi,
I have a javascript asp which gets the current status of all items from a database and displays the result, code goes something like follows:
sql = "select BarCode, Location, Side from SUTStatus";
and is then displayed like:
out += String(rs.fields.item("BarCode"
) +
"</td><td>";
out += String(rs.fields.item("Location"
) +
"</td><td>";
out += String(rs.fields.it("Side"
) +
"</td><td>";
However within table this query is run from there is another field OrderNum where each Barcode in a particular order has the same order num.
Is it possible to count the number of Barcodes with the same order num for each barcode being displayed and then display this value so that the display now gives
OrderQty BarCode etc.
2 AAA
1 BBB
2 CCC
I have a javascript asp which gets the current status of all items from a database and displays the result, code goes something like follows:
sql = "select BarCode, Location, Side from SUTStatus";
and is then displayed like:
out += String(rs.fields.item("BarCode"
"</td><td>";
out += String(rs.fields.item("Location"
"</td><td>";
out += String(rs.fields.it("Side"
"</td><td>";
However within table this query is run from there is another field OrderNum where each Barcode in a particular order has the same order num.
Is it possible to count the number of Barcodes with the same order num for each barcode being displayed and then display this value so that the display now gives
OrderQty BarCode etc.
2 AAA
1 BBB
2 CCC