DW is changing the code in WA recordset wizard
Created an insert page using Data Assist.
Created a recordset to filter on the field 'TAC'. Using this RS to prevent insert page adding duplicate 'TAC' value submitted from insert form.
Previously I recall just using $_POST['TAC'] as the runtime value format, which worked, however I'm seeing the following in my DW code view
$TACDupeChk = new WA_MySQLi_RS("TACDupeChk",$tacDB,1);
$TACDupeChk->setQuery("SELECT TACdb.TAC FROM TACdb WHERE TACdb.TAC = ?");
$TACDupeChk->bindParam("i", "".((isset($_POST["TAC"]))?$_POST["TAC"]:"") ."", "-1"); //chktac
And its causing a MySQL error.
When I return to the runtime value in the WA recordset wizard, the value <?php echo ((isset($_POST["TAC"]))?$_POST["TAC"]:""); ?> has replaced $_POST['TAC']