Guest_imported
New member
- Jan 1, 1970
- 0
<%
productid=valid_sql(request.querystring("productid")
set rsminlist=db.execute("select minorder from products where productid=" & productid & " order by name"
quantity = request.form("qty"
minorder = rsminlist("minorder"
if quantity < minorder then
'the quantity is less than minorder
else
'the quantity is not less than minorder
end if
%>
minorder is in the Access database as 100.
quantity is a form input. Any number I put in the form, say 50 returns that quantity is not less than minorder.
50 is less than 100 so why wont it work?
What am I missing please?!
-love,
cid
productid=valid_sql(request.querystring("productid")
set rsminlist=db.execute("select minorder from products where productid=" & productid & " order by name"
quantity = request.form("qty"
minorder = rsminlist("minorder"
if quantity < minorder then
'the quantity is less than minorder
else
'the quantity is not less than minorder
end if
%>
minorder is in the Access database as 100.
quantity is a form input. Any number I put in the form, say 50 returns that quantity is not less than minorder.
50 is less than 100 so why wont it work?
What am I missing please?!
-love,
cid