B
Bonnie
As previously posted, I had a form that sent its results
to a database. This worked fine but I also needed to send
the results by email. THANKS to Jim Buyens for helping
with my previous post, I have written some ASP code that
does this for me. The problem I have now is with the
database portion of the script. The form contains a large
number of option groups with three option buttons per
group. The user will pick and choose only a few options
out of the groups (most will be null). In my script, I am
using an INSERT statement that inserts data from the form
into the table. The problem occurs (I think) because I am
not sending values for all the fields (since most are null
coming out of the form). Is there any way to get this to
work without building in some hellacious nested IF
statements to check to see if there's a value in all the
fields before including the field in the INSERT?
THANKS for your help!
Bonnie
to a database. This worked fine but I also needed to send
the results by email. THANKS to Jim Buyens for helping
with my previous post, I have written some ASP code that
does this for me. The problem I have now is with the
database portion of the script. The form contains a large
number of option groups with three option buttons per
group. The user will pick and choose only a few options
out of the groups (most will be null). In my script, I am
using an INSERT statement that inserts data from the form
into the table. The problem occurs (I think) because I am
not sending values for all the fields (since most are null
coming out of the form). Is there any way to get this to
work without building in some hellacious nested IF
statements to check to see if there's a value in all the
fields before including the field in the INSERT?
THANKS for your help!
Bonnie