megetron
May 3rd, 2004, 09:04 AM
Hi,
I am using ASP, and write a query that insert a record, using the recordset object:
rs.open strSQL, adoCon, 3, 3
the query is creating a uniqe ID automatically.
I wants this ID after the query, and i was thinking using the
rs.index property.
but it isn't working, for some reason the recordset is get closed imiddietly after the INSERT query is performed.
any suggestions?
I am using ASP, and write a query that insert a record, using the recordset object:
rs.open strSQL, adoCon, 3, 3
the query is creating a uniqe ID automatically.
I wants this ID after the query, and i was thinking using the
rs.index property.
but it isn't working, for some reason the recordset is get closed imiddietly after the INSERT query is performed.
any suggestions?