Kevin Spencer
4/21/2004 7:51:00 PM
Hi Bonnie,
Your If statement looks fine, but that's all I can say about it until you
describe what you mean by "not working".
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Bonnie" <anonymous@discussions.microsoft.com> wrote in message
news:23f701c427ce$f148e8d0$a601280a@phx.gbl...
> I am working on sending form results to email with ASP
> code. I had it working ok until I tried to build the body
> of the email. There are several fields on the form and I
> want to build the body of the email by showing only the
> fields that were filled in by the user (don't show null
> ones)
>
> I am doing it like this:
>
> Dim strBody
>
> If Request.Form("Outlook") <> "" Then
> strBody = strBody & "Outlook : "
> strBody = strBody & Request.Form("Outlook") & Chr(13)
> End if
>
> .....
>
> And I repeat the IF statements for each field on the form
> in order to build the body of the email. For some reason,
> it's not working.
>
> Am I coding the IF statements correctly?
>
> Thanks
> Bonnie