Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ms access 97 problem 3622

Status
Not open for further replies.

nicklewis

IS-IT--Management
Feb 7, 2005
21
GB
error message:
you must use the dbseechanges option with openrecordset when accessing a sql server table that has an identity colum

The code:
Dim db As Database
Dim tblDowntime As Recordset

Set db = DBEngine.Workspaces(0).Databases(0)
Set tblDowntime = db.OpenRecordset("dwor_Downtime", dbOpenDynaset)

Any help would be much appreciated
 
You may try this (as suggested):
Set tblDowntime = db.OpenRecordset("dwor_Downtime", dbOpenDynaset, dbSeeChanges)

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
didnt realise it was that easy cheers for the help that worked perfectly. hopefully this will be my last problem he says

cheers again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top