I have (besides being a moron) a problem showing only the selected records that are not active (ie:still pending)
The select works and gives me the records that are pending and completed (active = 1). orderdetail.active is bit, default=0, null allowed
...clip
& "WHERE ordersubjects.CompID = '" & Session("CompID") &"' and orderdetail.archive = 0 and ordersubjects.subjectnumber = " & ID & " "_
...clip
But when I do this:
<% while objrst.eof = false
If Orderdetail.active < 1 then
%>
<table .....
<tr><td>......
<%
objrst.movenext
end if
wend
ObjRst.movefirst
%>
Thus far, no matter the syntax of my if statement, I get all the records selected.
suggestions?
TIA
Cole
The select works and gives me the records that are pending and completed (active = 1). orderdetail.active is bit, default=0, null allowed
...clip
& "WHERE ordersubjects.CompID = '" & Session("CompID") &"' and orderdetail.archive = 0 and ordersubjects.subjectnumber = " & ID & " "_
...clip
But when I do this:
<% while objrst.eof = false
If Orderdetail.active < 1 then
%>
<table .....
<tr><td>......
<%
objrst.movenext
end if
wend
ObjRst.movefirst
%>
Thus far, no matter the syntax of my if statement, I get all the records selected.
suggestions?
TIA
Cole