Hello Experts,
I'm trying to insert 6 rows and ONLY 6 rows of data into a table. Right now, I had to create 6 separate "Forms" using ASP Classic. I then called the forms in a javascript like this:
Function PostData()
{
document.form1. submit();
document.form2. submit();
document.form3. submit();
document.form4. submit();
document.form5. submit();
document.form6. submit();
}
This works dandy, on my home machine. But on the server, I get this error:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/webproject/list-stoplight.asp, line 144
It inserts the first to forms records and hiccups. I've called the hosting company and they can't figure our what's wrong. Is there another solution that will insert the data in one fell swoop?
Consider this: I have an invoice with 6 rows of products and they have to go into a table like they appear on the invoice.
Ex:
ID SECTION COLOR DESCRIPTION
1 TestSection Green Test
2 TestSection2 Red Test
3 TestSection3 Blue Test
4 TestSection4 Orange Test
5 TestSection5 Purple Test
6 TestSection6 Maroon Test
That's the invoice and that's the table. Simple right? I'd like to keep it that way.
I can do this in VB if you can provide a solution. I build my sites in Dreamweaver CS3.
Hope someone can help me.
Peter
I'm trying to insert 6 rows and ONLY 6 rows of data into a table. Right now, I had to create 6 separate "Forms" using ASP Classic. I then called the forms in a javascript like this:
Function PostData()
{
document.form1. submit();
document.form2. submit();
document.form3. submit();
document.form4. submit();
document.form5. submit();
document.form6. submit();
}
This works dandy, on my home machine. But on the server, I get this error:
ADODB.Field error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/webproject/list-stoplight.asp, line 144
It inserts the first to forms records and hiccups. I've called the hosting company and they can't figure our what's wrong. Is there another solution that will insert the data in one fell swoop?
Consider this: I have an invoice with 6 rows of products and they have to go into a table like they appear on the invoice.
Ex:
ID SECTION COLOR DESCRIPTION
1 TestSection Green Test
2 TestSection2 Red Test
3 TestSection3 Blue Test
4 TestSection4 Orange Test
5 TestSection5 Purple Test
6 TestSection6 Maroon Test
That's the invoice and that's the table. Simple right? I'd like to keep it that way.
I can do this in VB if you can provide a solution. I build my sites in Dreamweaver CS3.
Hope someone can help me.
Peter
Comment