Re: code timing out on select from access
From: Bob Barrows [MVP] (reb01501_at_NOyahoo.SPAMcom)
Date: 07/12/04
- Next message: Jeremy Zifchock: "Re: code timing out on select from access"
- Previous message: Aaron [SQL Server MVP]: "Re: code timing out on select from access"
- In reply to: Jeremy: "code timing out on select from access"
- Next in thread: Jeremy Zifchock: "Re: code timing out on select from access"
- Reply: Jeremy Zifchock: "Re: code timing out on select from access"
- Messages sorted by: [ date ] [ thread ]
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.
- Next message: Jeremy Zifchock: "Re: code timing out on select from access"
- Previous message: Aaron [SQL Server MVP]: "Re: code timing out on select from access"
- In reply to: Jeremy: "code timing out on select from access"
- Next in thread: Jeremy Zifchock: "Re: code timing out on select from access"
- Reply: Jeremy Zifchock: "Re: code timing out on select from access"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|