A
Andre
Access 97, SQL2k
How can I truncate a linked sql table using Dao? I've tried several
different ways, including the following, and continually get errors.
Dim db As DAO.Database
Dim Connect As String
Connect = "ODBC;DSN=HCPHPA;UID=xxx;PWD=xxx"
Dim strSQL
strSQL = "Truncate table dbo.Enrollment;"
db.Execute strSQL, dbSQLPassThrough
How can I truncate a linked sql table using Dao? I've tried several
different ways, including the following, and continually get errors.
Dim db As DAO.Database
Dim Connect As String
Connect = "ODBC;DSN=HCPHPA;UID=xxx;PWD=xxx"
Dim strSQL
strSQL = "Truncate table dbo.Enrollment;"
db.Execute strSQL, dbSQLPassThrough