Hi,
Happy new year to everybody.
I have the following code
which adds a record to a table. But every other time I run the code I get the following error "You must use the Dbseechanges option with Openrecordset when accessing a SQL Server table that has an identity column."
I've used the dbseechanges option, but am still getting the error every other time I run the code. Any help would be greatly appreciated.
Thanks
Sydney
Happy new year to everybody.
I have the following code
Code:
Set MyDB = CurrentDb
Set MyTable = MyDB.OpenRecordset("tblLoanSteps", , dbSeeChanges)
MyTable.AddNew
MyTable("litigationID") = Forms!frmLitigationEntry!txtLitigationID
MyTable("ScheduleDate") = Forms!frmLitigationEntry![txtstartDate]: MyTable("Steps") = "1": MyTable("Critical") = "1"
MyTable.Update
which adds a record to a table. But every other time I run the code I get the following error "You must use the Dbseechanges option with Openrecordset when accessing a SQL Server table that has an identity column."
I've used the dbseechanges option, but am still getting the error every other time I run the code. Any help would be greatly appreciated.
Thanks
Sydney