I've been wrestling with this .addRecord()/.updateRecord() issue for a few days. I've looked at the posts and tried to fix the recordset.asp but didn't help.
What is happenning is I press a button on my form which calls addRecord. This clears the form. I fill in the data and then press an Update button which calls .updateRecord().
The problem is, the record gets added to the table but the record preceding it gets updated with the same data. And the page never returns. It errors like this:
ADODB.Recordset (0x80040E21)
Provider cannot determine the value. Possible reasons: The record was just created, the default value for the field was not available, or the user has not set a new value.
What is happenning is I press a button on my form which calls addRecord. This clears the form. I fill in the data and then press an Update button which calls .updateRecord().
The problem is, the record gets added to the table but the record preceding it gets updated with the same data. And the page never returns. It errors like this:
ADODB.Recordset (0x80040E21)
Provider cannot determine the value. Possible reasons: The record was just created, the default value for the field was not available, or the user has not set a new value.