all groups > sql server connect > november 2003 >
You're in the

sql server connect

group:

Must use dbSeeChanges option with Open Connection Error


Must use dbSeeChanges option with Open Connection Error Darrick
11/19/2003 8:27:47 AM
sql server connect:
Hi,

I keep getting a "Must use dbSeeChanges option with Open
Connection Error", while connecting to a table that has an
Identity field.

I have also trying this line of code instead of the
origionl (Listed below), but get the same error.

Set TotalViewMURST = TotalViewMUDB.OpenRecordset
("TotalViewFileMUFiles_WIP", , dbSeeChanges) '

I've never seen this error before, nor can I find the
solution. I can't even find anything about it on Books
Online.

I would appericate any help you can offer.

Thanks in advance.
Darrick
darrick AT pscufs DOT COM


Here is my code:
********************************************************
Public Function ConnectToTotalViewMU()

On Error GoTo ErrorHandler

Set TotalViewMUWS = DBEngine.Workspaces(0)
Set TotalViewMUDB = TotalViewMUWS.OpenDatabase("",
False, False, ConnectString)
Set TotalViewMURST = TotalViewMUDB.OpenRecordset
("TotalViewFileMUFiles_WIP") 'Opens the recordset.

TotalViewMUWS.BeginTrans

End Function
********************************************************

Re: Must use dbSeeChanges option with Open Connection Error Allan Mitchell
11/20/2003 7:43:06 AM
Does this help


http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q190/6/20.asp&NoWebContent=1
--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



[quoted text, click to view]

AddThis Social Bookmark Button