Parent Directory | Revision Log | Patch
revision 35 by torben, Sun Sep 3 10:10:19 2006 UTC | revision 36 by torben, Mon Sep 4 08:53:10 2006 UTC | |
---|---|---|
# | Line 373 void DatabaseLayer::checkReservations(CS | Line 373 void DatabaseLayer::checkReservations(CS |
373 | } | } |
374 | rs.Close(); | rs.Close(); |
375 | ||
376 | if (reservationCount > 0 && status == "3") {//equipment is available and has at lease one reservation | |
if (reservationCount > 0 && status == 3) {//equipment is available and has at lease one reservation | ||
377 | SQL = "UPDATE Udstyr SET Status = 2 WHERE Stregkode = '" + barcode + "'"; | SQL = "UPDATE Udstyr SET Status = 2 WHERE Stregkode = '" + barcode + "'"; |
378 | db.ExecuteSQL(SQL); | db.ExecuteSQL(SQL); |
379 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |