Single quotes must be added to the value attributes of the checkboxes. |
<INPUT TYPE="checkbox" NAME="SelectedOrgs" VALUE="'Mobil Corp.'">Mobil Corporation<BR> |
<INPUT TYPE="checkbox" NAME="SelectedOrgs" VALUE="'Bank of Boston'"> BankBoston<BR> |
Cfm includes: |
SELECT * FROM Organizations WHERE OrganizationName IN |
(#PreserveSingleQuotes(SelectedOrgs)#) |
The statement sent to the database would be: |
SELECT * FROM Organizations WHERE OrganizationName IN |
('Mobil Corp.', 'BankBoston') |