Jan 29, 2004 #1 cranebill IS-IT--Management Jan 4, 2002 1,113 US I ran this just to test and it loops infinately. Rs.MoveFirst Do Until Rs.EOF MsgBox Rs!CompanyName Loop The recordset only has 1 record.... I am not sure why its looping infinately. Any Ideas? Bill
I ran this just to test and it loops infinately. Rs.MoveFirst Do Until Rs.EOF MsgBox Rs!CompanyName Loop The recordset only has 1 record.... I am not sure why its looping infinately. Any Ideas? Bill
Jan 29, 2004 #2 Arttrivedi Programmer Jan 29, 2004 7 US Try this Rs.MoveFirst Do Until Rs.EOF MsgBox Rs!CompanyName rs.MoveNext Loop Upvote 0 Downvote
Jan 29, 2004 Thread starter #3 cranebill IS-IT--Management Jan 4, 2002 1,113 US Nevermind lol... forgot to put in the rs.movenext lol Man i need a vaca lol Bill Upvote 0 Downvote
Jan 29, 2004 #4 MacCaillean Technical User Sep 3, 2002 126 GB Hi cranebill It loops indefinitely because it never moves off of the first record in the table. You need an Code: Rs.MoveNext after the Code: MsgBox command. Regards Mac Upvote 0 Downvote
Hi cranebill It loops indefinitely because it never moves off of the first record in the table. You need an Code: Rs.MoveNext after the Code: MsgBox command. Regards Mac
Feb 2, 2004 #5 SeeThru IS-IT--Management May 2, 2002 585 GB Go on - give him a star! Upvote 0 Downvote