Help! I need to pass the "nonvalue" checkboxes from a form to an Access database. I know this is simple but I'm having brain freeze. My query is as follows:
<CFQUERY NAME="AddChange" DATASOURCE="change" dbtype="ODBC">
INSERT INTO tblChanges (Reported_By, Date_Reported, Type, Device_Name, Affected_Midland, Affected_DivLoc, Affected_AS400, Affected_Ethernet, Affected_Sun, Affected_Datastream, Affected_PC, Change_Description, Plan_Test, Backout_Plan, Clients_Notified, Peers_Notified)
VALUES ('#Form.Reported_By#', '#Form.Reported_Date#', '#Form.ChangeType#', '#Form.DeviceName#', '#Form.KEG#', '#Form.Division#', '#Form.AS400#', '#Form.EC#', '#Form.SU#', '#Form.DS#', '#Form.PC#', '#Form.Infinium#', '#Form.win2000#', '#Form.Description#', '#Form.Plan_Test#', '#Form.Backout#', '#Form.Clients_Notified#', '#Form.Peers_Notified#')
</CFQUERY>
All these variables from above are checkboxes.
'#Form.KEG#', '#Form.Division#', '#Form.AS400#', '#Form.EC#', '#Form.SU#', '#Form.DS#', '#Form.PC#', '#Form.Infinium#', '#Form.win2000#',
How do I pass it if it's not defined? The checkbox is off. Thanks.
Sheryl
<CFQUERY NAME="AddChange" DATASOURCE="change" dbtype="ODBC">
INSERT INTO tblChanges (Reported_By, Date_Reported, Type, Device_Name, Affected_Midland, Affected_DivLoc, Affected_AS400, Affected_Ethernet, Affected_Sun, Affected_Datastream, Affected_PC, Change_Description, Plan_Test, Backout_Plan, Clients_Notified, Peers_Notified)
VALUES ('#Form.Reported_By#', '#Form.Reported_Date#', '#Form.ChangeType#', '#Form.DeviceName#', '#Form.KEG#', '#Form.Division#', '#Form.AS400#', '#Form.EC#', '#Form.SU#', '#Form.DS#', '#Form.PC#', '#Form.Infinium#', '#Form.win2000#', '#Form.Description#', '#Form.Plan_Test#', '#Form.Backout#', '#Form.Clients_Notified#', '#Form.Peers_Notified#')
</CFQUERY>
All these variables from above are checkboxes.
'#Form.KEG#', '#Form.Division#', '#Form.AS400#', '#Form.EC#', '#Form.SU#', '#Form.DS#', '#Form.PC#', '#Form.Infinium#', '#Form.win2000#',
How do I pass it if it's not defined? The checkbox is off. Thanks.
Sheryl