Ok, I think I have this pretty much figured out, but I'm getting the following error:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
Basically, in the table I've created to pull data from my database (Access) I want the header row to repeat every 10 rows.
Here's the basic code that I have for the table:
Do While NOT oRS.EOF
i=0
Response.Write(...header column 1...)
Response.Write(...header column 2...)
etc..
Do Until i=10
i=i+1
Response.Write(...data column 1...)
Response.Write(...data column 1...)
etc...
oRS.MoveNext
Loop
Loop
When I view the page in a browser, it looks like it should except that after the header + 10 rows it shows the above error and then continues with the header and 11th-20th rows.
I'm sure there is a very simple answer, but being that I'm very new at this, I can't figure it out. Any help is greatly appreciated!
Elizabeth
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
Basically, in the table I've created to pull data from my database (Access) I want the header row to repeat every 10 rows.
Here's the basic code that I have for the table:
Do While NOT oRS.EOF
i=0
Response.Write(...header column 1...)
Response.Write(...header column 2...)
etc..
Do Until i=10
i=i+1
Response.Write(...data column 1...)
Response.Write(...data column 1...)
etc...
oRS.MoveNext
Loop
Loop
When I view the page in a browser, it looks like it should except that after the header + 10 rows it shows the above error and then continues with the header and 11th-20th rows.
I'm sure there is a very simple answer, but being that I'm very new at this, I can't figure it out. Any help is greatly appreciated!
Elizabeth