Thanks for the tips. I am getting a type mismatch error, which I should be
able to track down. Thanks for the help.
Joe
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:O6e$wEgbEHA.4092@TK2MSFTNGP10.phx.gbl...[color=blue]
> You need to know what an error is before you can debug it.
>
>
http://www.aspfaq.com/show.asp?id=2109
>
> Ray at home
>
> "JStrauss" <subs@strausselec.com> wrote in message
> news:eZiKb$fbEHA.716@TK2MSFTNGP11.phx.gbl...[color=green]
> > Hello,
> > I am having a problem getting some code to calculate/work in an ASP[/color][/color]
page.[color=blue]
> In[color=green]
> > the snippet below I am collecting some data (inthours1 and intrate1) and
> > then want to calculate a value (intsub1) to display on the page. If I[/color][/color]
set[color=blue][color=green]
> > intsub1 to a fixed value, the page displays correctly. If I try the
> > calculation listed below, I get a 500 internal server error on the[/color][/color]
page.[color=blue][color=green]
> > What am I doing wrong???
> >
> > Thanks,
> > Joe
> >
> > <%
> > Dim strSDate1, strEng1, intHours1, intRate1, intSub1
> >
> > intHours1 = Trim(Request.Form("shours1"))
> > intRate1 = Trim(Request.Form("srate1"))
> >
> > ' Sub total buckets
> > intSub1 = inthours1 * intrate1
> > %>
> > <td><INPUT TYPE=TEXT NAME="SHours1" VALUE="" SIZE=10 MAXLENGTH=10></td>
> > <td><INPUT TYPE=TEXT NAME="SRate1" VALUE="" SIZE=12 MAXLENGTH=12></td>
> > <td><%= intSub1 %> </td>
> >
> >[/color]
>
>[/color]