M
Mirna
Hello,
I have a connection ODBC betwen Access and SQL server,
When I use an openrecordset I have this warning:
you must use the dbseechanges option with OpenRecordset
when accessing a SQL server Table that has an Identity
column
My code is:
If (NulVal) Then
StrCri = "SELECT Tb_Item.ID_Item FROM Tb_Item WHERE
([ID_Forfait] is Null)"
Else
StrCri = "SELECT Tb_Item.ID_Item FROM Tb_Item WHERE
([ID_Forfait] <> Null)"
End If
Set RS = db.OpenRecordset(StrCri) '--the compiler stop
here
do you have any hint please
thanks
I have a connection ODBC betwen Access and SQL server,
When I use an openrecordset I have this warning:
you must use the dbseechanges option with OpenRecordset
when accessing a SQL server Table that has an Identity
column
My code is:
If (NulVal) Then
StrCri = "SELECT Tb_Item.ID_Item FROM Tb_Item WHERE
([ID_Forfait] is Null)"
Else
StrCri = "SELECT Tb_Item.ID_Item FROM Tb_Item WHERE
([ID_Forfait] <> Null)"
End If
Set RS = db.OpenRecordset(StrCri) '--the compiler stop
here
do you have any hint please
thanks