Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
if oRS.RecordCount > 0 then
while not oRS.EOF
Response.Write "<OPTION name=""merchant"" value="""
Response.Write oRS("MerchantID")
Response.Write "+"
Response.Write oRS("BasketEntryID")
Response.Write """>"
Response.Write oRs("Quantity")
Response.Write " st "
Response.Write oRs("Name")
Response.Write " for "
Response.Write oRs("Price")
Response.Write " $ each </option>"
oRS.MoveNext
wend
end if
Response.Write "<INPUT name=""DeleteItem"" value=""DeleteItem"" Type=""Button"">"
Response.Write "<INPUT name=""DeleteMerchant"" value=""DeleteMerchant"" Type=""Button"">"
POST
dim intMerchant, intItem
intMerchant = Left(Request.Form("merchant"), InStr(Request.Form("merchant"),"+") - 1)
intItem = Right(Request.Form("merchant"), Len(Request.Form("merchant")) - InStr(Request.Form("merchant"),"+"))
if Request.Form("DeleteItem") <> "" then
strDeleteSQL = "DELETE FROM myTable WHERE MerchantID = " & intMerchant
else
strDeleteSQL = "DELETE FROM myTable WHERE ItemID = " & intItem
end if
[code]
this show sthe most important part.
James :-) James Culshaw
jculshaw@active-data-solutions.co.uk
[URL unfurl="true"]http://www.active-data-solutions.co.uk[/URL]
[URL unfurl="true"]http://www.brainbench.com/transcript.jsp?pid=193305[/URL]