R
Ray Hogan
Hi,
I wish to run modUpdate which includes an Append Query, Delete and Make
Table, but the following hangs on DoCmd.
I would appreciate any help.
Function UpdateRG()
Dim objAccess As Access.Application
Dim strDBPath As String
Const DB_path As String = "c:\plantreg\updaterg.mdb"
Set objAccess = New Access.Application
With objAccess
..OpenCurrentDatabase DB_path
..DoCmd.OpenFunction "modUpdate", acViewNormal, acAdd
End With
objAccess.Quit
Set objAccess = Nothing
Thanking you in anticipation.
Regards.
Rayh.
I wish to run modUpdate which includes an Append Query, Delete and Make
Table, but the following hangs on DoCmd.
I would appreciate any help.
Function UpdateRG()
Dim objAccess As Access.Application
Dim strDBPath As String
Const DB_path As String = "c:\plantreg\updaterg.mdb"
Set objAccess = New Access.Application
With objAccess
..OpenCurrentDatabase DB_path
..DoCmd.OpenFunction "modUpdate", acViewNormal, acAdd
End With
objAccess.Quit
Set objAccess = Nothing
Thanking you in anticipation.
Regards.
Rayh.