J
Joe
Hi,
I trying to copy a table and stamp a date at the end. I have the following
code that I been working on but I get a Compile error. Please help
Private Sub CopyTable()
Dim strTableName As String
Dim strDate As String
strDate = Format(Date - 1, "mmddyy")
strTableName = "SA DAILY PORTFOLIO"
DoCmd.CopyObject (strTableName &""& strDate,acTable,strTableName)
End Sub
I trying to copy a table and stamp a date at the end. I have the following
code that I been working on but I get a Compile error. Please help
Private Sub CopyTable()
Dim strTableName As String
Dim strDate As String
strDate = Format(Date - 1, "mmddyy")
strTableName = "SA DAILY PORTFOLIO"
DoCmd.CopyObject (strTableName &""& strDate,acTable,strTableName)
End Sub