Hey mplungjan,
Unfortunately it's a little more complex than that, I'll try and step through it.
I have a job that has 3 tasks, the 3 tasks can have different or the same priorities.
I wish to display all open jobs one after the other (this is the first ASP SQL loop) then in each line for each job I wish to display the most urgent priority in the 3 tasks so therefore there is a 2nd ASP SQL loop to check all three tasks to get all three priorities (which I currently can display as 1,2,3 for example) and then display only the most urgent.
I hope that makes sense, therefore it's nested loops (I don't think it helps using access as a backend but thats out of my hands.
Thanks in advance
Neilos
Main Topics
Browse All Topics





by: mplungjanPosted on 2008-07-03 at 09:25:59ID: 21926992
something like (excuse my lack of asp syntaxt knowledge
if rsPr.EOF then response.write "N/A";
else
Do While Not rsPr.EOF
if rsPr = "1" response.write "Urgent"
elseif rsPr = "2" response.write "normal"
elseif rsPr = "3" response.write "low"
endif
rsPr.MoveNext
Loop
endif