J
|
Jane 7/18/2007 |
Gabe, function BeforeEdit($values) { global $conn; $strSQLInsert = "update table set programmanager = '".$values["programmanager"]."' where contractnumber=".$values["contractnumber"]; db_exec($strSQLInsert,$conn); } |
G
|
garivera author 7/18/2007 |
That Worked, |
G
|
garivera author 7/19/2007 |
That Worked, Thanks Gabe
|
|
2945 7/19/2007 |
You have a typo in the line... |
G
|
garivera author 7/20/2007 |
You have a typo in the line... $strSQLInsert = "update chartofaccounts set EndDate = '".$values["EndDate"]."' where BANR_FUND=".$values["BANR_FUND"]" and BANR_ORG=".$values["BANR_ORG"]" ; db_exec($strSQLInsert,$conn); Should be... strSQLInsert = "update chartofaccounts set EndDate = '".$values["EndDate"]."' where BANR_FUND=".$values["BANR_FUND"]." and BANR_ORG=".$values["BANR_ORG"]" ; db_exec($strSQLInsert,$conn); Simple missing full stop delimeter...
|