|
xterradane -> ASP & Calculations (1/9/2002 13:45:11)
|
I am trying to generate an invoice with total based on amount of days they chose, however, I have not been able to get it to work, making me think this is not the way to do it. I also tried with a Function, but that did not work either. Any suggestions? Do While Not rsJob.EOF Response.Write "<TR><TD WIDTH=""60%"" COLSPAN=""2""> " & rsJob("JobTitle") &"</TD>" &_ "<TD WIDTH=""20%"" P ALIGN=""CENTER"">" & rsJob("DaysPosted") &"</TD>" If Request.Form("DaysPosted")= "30" Then Response.Write "<TD WIDTH=""20%"" P ALIGN=""CENTER""> 25.00</TD>" Else If Request.Form("DaysPosted") = "60" Then Response.Write "<TD WIDTH=""20%"" P ALIGN=""CENTER""> 45.00</TD>" Else If Request.Form("DaysPosted") = "90" Then Response.Write "<TD WIDTH=""20%"" P ALIGN=""CENTER""> 60.00</TD>" End If
|
|
|
|