I am trying to convert an Access 2000 database over to SQL 7.0, but I am having some problems. I ran the upsizing wizard to upsize the table structure and link the database tables to the sql 7.0 tables. That worked fine. I then imported all the data into the SQL 7.0 backend. Again no problems. But when I tried to run my main menu form, I got an error that said, "Run-time error: 3622. You must use the dbSeeChanges option with OpenRecordset when accessing a SQL Server table that has an IDENTITY column." After getting the error I changed my "dbOpendynaset" code to "dbSeeChanges", but I got a new error that said, "Run-time error 3001, Invalid Argument." The line of code that gets the error is as follows:<br>
<br>
Set RcdTemp2 = dbcurrent2.OpenRecordset("TempPurchaseOrderItem", dbSeeChanges)<br>
<br>
RcdTemp2 is defined as "Recordset"<br>
dbcurrent2 is defined as "Database" and is set to <br>
"CurrentDb()"<br>
<br>
I also got this error:<br>
"[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot group by a bit column (#252)"<br>
<br>
Got any ideas?<br>
<br>
Arnold<br>
<br>
<br>
Set RcdTemp2 = dbcurrent2.OpenRecordset("TempPurchaseOrderItem", dbSeeChanges)<br>
<br>
RcdTemp2 is defined as "Recordset"<br>
dbcurrent2 is defined as "Database" and is set to <br>
"CurrentDb()"<br>
<br>
I also got this error:<br>
"[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot group by a bit column (#252)"<br>
<br>
Got any ideas?<br>
<br>
Arnold<br>
<br>