/* The statment below simply deletes the customer, indicated by the id passed in as a REQUEST property. We check to be sure the value is not null to prevent executing an SQL query that would have no effect. */ if(request.ID != null) { var userId = unscramble(client.userId) var bucket = project.sharedConnections.connections[userId] var connection = bucket.connection connection.execute("delete from customer where customer.ID = " + request.ID); } redirect("delete.htm");