Example:. i had 2 table
table 1 (master) -pid ,name ,surname::pid is a primary
table 2 (detail) -no, pid ,update,book,::: no is primary and autoincrement // "update" is a checkbox and default is 1(checked)
then i want to ::after add a new record(detail table) --> field "update" at a past record turn in to "null"value in the same detail table
what code is it:: i tried use a row updating with $rsold["update"] = "null" it don't work
and try to use :
ew_Execute("UPDATE table2 SET table2.update = '" . ."' WHERE table2.pid = ". $rsnew["pid"]);
not work too??
Anyone can help me??? for the true code
regards