// //////////////////// BEGIN MAIN /////////////////////// // Establish a cursor that points to the transaction in question. // The id for the transaction was passed as a property of the REQUEST // object from the "viewtrans.html" page, where the transaction was selected // from a list. // cursor = database.cursor("select * from LP_PURCHASE where id=" + request.id); if (!cursor.next()) PrintError("Invalid transaction id.", "Transaction with id " + request.id + " could not be found in the database.", "Please try a different transaction."); write("

Cancel this Transaction

\n"); PrintTrans(cursor); cursor.close();

Back to Administration