Here's my final code. It's complaining with an error of:
ERROR: syntax error at or near "." at character 38
I'm trying to troubleshoot it at the moment. If anyone has any suggestions please let me know. Thanks.
PHP Code:
// begin Recordset
$recordid66__Recordset4 = '-1';
if (isset($_GET['recordid66'])) {
$recordid66__Recordset4 = $_GET['recordid66'];
}
$checkno__Recordset4 = '-1';
if (isset($_GET['checkno'])) {
$checkno__Recordset4 = $_GET['checkno'];
}
$query_Recordset4 = sprintf("UPDATE tbl88view1
SET tbl88view1.col20 = tbl95view1.col35
FROM tbl95view1
WHERE tbl88view1.col27 = tbl95view1.col36
AND tbl88view1.col23 = tbl95view1.col13
AND tbl88view1.col2 = tbl95view1.col2
AND tbl95view1.col13 = %s
AND tbl95view1.col35 >= %s", $recordid66__Recordset4,$checkno__Recordset4);
$Recordset4 = $base2->SelectLimit($query_Recordset4) or die($base2->ErrorMsg());
// end Recordset
These update queries in php can update multiple records all at the same time right? Or am I wrong in assuming this.
Bookmarks