<%@ LANGUAGE="VBScript.Encode" %> <% order = Session("orderid") 'READ STUFF From Database Dim objSimpleAdo, rstRS, SQLStmt SQLStmt = "SELECT * From item " SQLStmt = SQLStmt & "WHERE [Orderid] =" & Order & "; " Set SimpleAdo = New CSimpleAdo SimpleAdo.setConnectionString = Session("ConnectionString") Set RS = SimpleAdo.getRecordSet(SQLStmt) 'Do stuff with the record set 'Initialize variables for this application thedate = Cstr(Date) 'get the date thetime = Cstr(Time) 'get the time subtotal = 0 'the subtotal for a row of items subweight = 0 'the subweight for a row of items subsize = 0 'the subsize for a row of items subquantity = 0 'the subquantity for a row of items CurrentRecord = 0 Do While CheckRS(RS) 'Calculate the individual totals for a row subweight = subweight + (RS("Quantity") * RS("Weight")) subsize = subsize + (RS("Quantity") * RS("Size")) subtotal = (RS("Quantity") * RS("Price")) subquantity = subquantity + RS("Quantity") total = FormatCurrency (CCur(subtotal)) grandtotal = grandtotal + subtotal RS.MoveNext Loop Set SimpleAdo = Nothing Set RS = Nothing %> Reptile Accessories - AquariumSuperstore - The UK's Leading Online Aquatic Retailer
Liners
Pumps
Filters
UV Clarifiers
Water Quality
Food
Accessories

Number Items: <%= subquantity%>
SubTotal: <%= FormatCurrency(grandtotal)%>


Tetra Pond Sticks 780g

Reptile Accessories
Page 1 of 1 - Total Number Available 8
 
Description
RRP:
Our Price:

 

ExoTerra Fogger

 

 

£xx.xx

 

 

£25.99


 

Seachem Jurassi Clean 250ml

 

 

£xx.xx

 

 

£8.99


 

Hobby Terrarium Door Lock

 

 

£xx.xx

 

 

£5.99


 

 

Hobby Self Adhesive Hydrometer

 

 

£xx.xx

 

 

£3.45


 

 

Hobby Self Adhesive Thermometer 

 

 

£xx.xx

 

 

£3.45


 

Hobby Tweezers 30cm Straight  

 

 

£xx.xx

 

 

£11.99


 

 

Hobby Tweezers 30cm Bent  

 

 

£xx.xx

 

 

£11.99


 

Hobby Tweezers 40cm Straight   

 

 

£xx.xx

 

 

£12.99


 

 

 

 

 

 

       

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 
Page 1 of 1 - Total Number Available 8