Description
This command is used for updating the multiple records
with same field value(s). Unlike Update command that
requires arrays of WBF_ fields with equal number of members (e.g. if you update
1 field for 4 records you MUST send four sets of WBF_field1 (WB_UID member) and
WBF_fied2 form fields), multi update command accept an array of WBF_field ONLY
for fields defined in WB_UID. Upon receiving the WB_UID members as an array of
WBF_field it will create the recordset and modify the content of all selected
records with SAME value(s).
e.g.
Original table values
| ID (WB_UID field) | Title | Show |
| 1 | McGraw-Hill's Encyclopedia of Networking & Telecommunications | True |
| 2 | Microsoft SMS Installer | True |
| 3 | Windows 2000 Iis 5.0 : A Beginner's Guide | True |
| 4 | Windows Nt Security Handbook | True |
Table values after Update command
(wbf_id=1&wbf_Show=False&wbf_id=2&wbf_Show=True&wbf_id=3&wbf_Show=False&wbf_id=4&wbf_Show=True)
| ID (WB_UID field) | Title | Show |
| 1 | McGraw-Hill's Encyclopedia of Networking & Telecommunications | False |
| 2 | Microsoft SMS Installer | True |
| 3 | Windows 2000 Iis 5.0 : A Beginner's Guide | False |
| 4 | Windows Nt Security Handbook | True |
Table values after Multi update command
(wbf_Show=False&wbf_id=1&wbf_id=2&wbf_id=3&wbf_id=4)
| ID (WB_UID field) | Title | Show |
| 1 | McGraw-Hill's Encyclopedia of Networking & Telecommunications | False |
| 2 | Microsoft SMS Installer | False |
| 3 | Windows 2000 Iis 5.0 : A Beginner's Guide | False |
| 4 | Windows Nt Security Handbook | False |