[thelist] Data Shaping and Count

Matt Warden mwarden at gmail.com
Tue May 10 22:07:32 CDT 2005


Mich,

On 5/10/05, Michele Foster (WizarDev) <michele at wizardev.ca> wrote:
> It also fails if I try this as a replacement to the **** line above:
> Do while not rs.eof and not rs.bof and rs("VolApplyContactID") =
> iApplicantID

I cannot recall whether ASP shortcuts conditions. What I mean is:

if (foo==bar && doSomething())
....

if the first condition is false, does the next get evaluated? It
doesn't need to be, so languages like java don't. ASP might.

If this is the case, you will have to fudge it. Something like:

while rs("VolApplyContactID")=iApplicantID
    ....

    rs.movenext
    if rs.eof break loop
loop

-- 
Matt Warden
Miami University
Oxford, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.


More information about the thelist mailing list