hey everyone, i am trying to display this querie in POS. It runs fine the only problem is when i close POS i see an alert "run time error '340' control array element '5' dosent exist can anybody please see the code and tell me what i am doing wrong
var sql = "SELECT Item.Description, Item.itemLookupCode FROM Item WHERE Item.Description LIKE '" + description + "%'";
var rs = qsRules.OpenRecordSet(sql, true);
while (!rs.EOF) { document.writeln ( rs("Description").value); document.writeln (" "); document.writeln ( rs("itemLookupCode").value); document.writeln (" " ); rs.MoveNext( ); }
thanks you shoby