Link to home
Start Free TrialLog in
Avatar of paulmcneil
paulmcneilFlag for United States of America

asked on

Commit a SQL Server connection update

I use this code to update a sql server table MS Access VBA 2003 code:

    strSQLDelete = "DELETE FROM dbo.tbl_PS_DiscrepanciesLevel123Tmp"
    Set conn = New ADODB.Connection
    conn.Open g_str_BSQLP01VW_HostMR_Connect (this a string constant)
    conn.Execute strSQLDelete

It works fine. Is there a way to make sure the update is committed, or does that require using a stored procedure
ASKER CERTIFIED SOLUTION
Avatar of virtuadept
virtuadept
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial