ok, thanks for that, but also people should be aware that there are missing features in the new mySQLi generated record sets when compared to recordsets created in the prior version.
isset and empty can't be applied directly to a recordset variable.
Hopefully WebAssist sorts this in the future as there are many of us that don't just use behaviors but rather appreciate web assist extensions for rapid development / prototyping while still writing our own code for more unique conditions.
As a tip to others that are running into this problem, you can use a recordset value assigned to your own variable.
For instance:
<?php $id = $rscoupons->getColumnVal("id"); ?>
<?php
if (!empty($id)) {
?>