First off, let me say thanks to everyone in this forum...you folks have helped me out a lot!
I am doing server audits for my company and I need to archive each audit that gets completed.
I have code written to copy the current audit table to another name in the same database but I would like to be able to copy it to another database while still being able to rename.
Here is the coding I have so far:
Public Function CopyTable_Click()
On Error GoTo Err_ErrorHandler
DoCmd.CopyObject , InputBox("Please Enter New Table Name"), acTable, "Server List"
MsgBox "Table successfully copied.", vbInformation
Exit_ErrorHandler:
strTable = vbNullString
Exit Function
Err_ErrorHandler:
MsgBox Err.Description, vbExclamation, "Error #" & Err.Number
Resume Exit_ErrorHandler
End Function
If it's at all possible, where would I put the server path of the renamed object?
Thanks!