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, SourceObjectNameDoCmd.CopyObject ( ). , . . ? Sleep, .