hi guys
i'm using sql server and classic asp. I'd like to know if there is a way to apply a 10% discount or any other calculation on to my sql table that contains prices via asp on the front end??
can this be done via a asp function upon recordset retrievel? something like this?..
sample data
I have been told it would be better to perform this function via asp front end rather than my sql statement
please advise
thanks in advance
Omar.
i'm using sql server and classic asp. I'd like to know if there is a way to apply a 10% discount or any other calculation on to my sql table that contains prices via asp on the front end??
can this be done via a asp function upon recordset retrievel? something like this?..
Code:
Response.Write "£" & ASPFUNCTION(objRS("Triple_Redleaf_Price")) & "
Code:
ID Date_Band Redleaf_Tour Goldleaf_Tour Double_Accomodation Triple_Accomodation Single_Accomodation Child_Accomodation Double_Redleaf_Price Double_Goldleaf_Price Triple_Redleaf_Price Triple_Goldleaf_Price Single_Redleaf_Price Single_Goldleaf_Price Child_Redleaf_Price Child_Goldleaf_Price 1 May<br />2011 Redleaf Goldleaf Double Triple Single Child(2-11 years) 489 989 479 979 539 1039 419 909
please advise
thanks in advance
Omar.
Comment