Re: code timing out on select from access

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Bob Barrows [MVP] (reb01501_at_NOyahoo.SPAMcom)
Date: 07/12/04


Date: Mon, 12 Jul 2004 10:24:54 -0400

Jeremy wrote:
> I am getting a timeout error and I'm not sure why. I have not called
> any data from a form on either post or get...(do I need to?) Any Idea
> why it isn't working and how to fix it?
>

>
> while (!rs.EOF) {
> var f1 = rs.Fields("Field1").value;
> var f2 = rs.Fields("Field2").value;
> var f3 = rs.Fields("Field3").value;
> }
You have an infinite loop. You left out the rs.moveNext(); statement in your
loop.

Bob Barrows

-- 
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


Relevant Pages

  • Re: A serious discussion about the need for more gun control
    ... replace another newsgroup when this one was set up ... What Kate said, Jeremy. ... Support severely wounded and disabled Veterans and their families! ...
    (alt.support.diabetes)
  • Re: whats causing my connectivity problem?
    ... That's an error trying to post to a newsgroup. ... timeout error. ... outgoing email has suddenly gotten balky. ... me this timeout message: ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Code to verify DSN
    ... Jeremy wrote: ... > I had the ISP set up is working? ... OLEDB provider for your database. ... Please reply to the newsgroup. ...
    (microsoft.public.inetserver.asp.db)
  • Re: AJAX.NET and prototype.js
    ... Jeremy wrote: ... guess next time I'll take Tom Cruise's advice and Do My Research. ... I think that by asking in a newsgroup, ...
    (comp.lang.javascript)
  • Re: Downloading SP4
    ... Dave Patrick ....Please no email replies - reply in newsgroup. ... Microsoft MVP [Windows] ... "Jeremy" wrote: ...
    (microsoft.public.win2000.setup_upgrade)