, 26 2017 . 14:37
+
.
. , . , autoexec . . . . 29068 ( )
strPath = DLookup("Path", "tblPath", "NikName='RabPath'") 'CurrentProject.Path
DestinationDatabase = fnBuildPath(strPath, "ONS_T.mdb")
NewName = "frmAlarm"
SourceObjectName = "frmAlarm"
DoCmd.CopyObject DestinationDatabase, NewName, acForm, SourceObjectName
NewName = "autoexec"
SourceObjectName = "autoexec_"
DoCmd.CopyObject DestinationDatabase, NewName, acMacro, SourceObjectName
DoCmd.CopyObject ( ). , . . ?
Sleep, .
-------------------------------------------------------------
50- ?
http://www.sql.ru/forum/1272561/oshibka-29068