Exception Occurred (0x80020009)

Results 1 to 2 of 2

Thread: Exception Occurred (0x80020009)

  1. #1
    Join Date
    Dec 1969

    Default Exception Occurred (0x80020009)

    I&#039;m getting the following error using the code below. All I want to do is loop through a recordset until EOF, while building a table 5 cells across and then start a new row and write the next five cells and records until EOF. I&#039;m doing this with a loop inside a loop, with the inside loop repeating the response.write five times and the outside loop resetting the counter and checking for EOF. If anybody has any suggestions, I&#039;d be grateful. The code and error are below<BR><BR>Do While NOT objRS.EOF<BR>i=1<BR> Do Until i=5<BR> Response.Write "&#060;td&#062;"<BR> strImgPath="file:///\server06publicpersonalysis\"<BR> strImgFile=objRS("lname") & "," & objRS("fname") & ".bmp"<BR> %&#062; <BR> &#060;a href="personalysis3.asp?path=&#060;%=strImgPath & strImgFile%&#062;"&#062;<BR> &#060;% <BR> response.write "&#060;font face=Tahoma size=2 style=color:#0000ff&#062;" & objRS("Fname") & " " & objRS("Lname") & "&#060;/a&#062;&#060;/td&#062;"<BR> objRS.MoveNext<BR> i=i+1<BR> Loop<BR>Loop<BR><BR>Error Type:<BR>(0x80020009)<BR>Exception occurred.

  2. #2
    Join Date
    Dec 1969

    Default See FAQ on displaying columns.

    There is a FAQ on displaying a recordset in columns.<BR><BR>You don&#039;t need the loop w/i a loop.<BR><BR>-Doug

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts