G
Guest
I am using TransferDatabase to import a report from another database. The
report gets named with a 1 on the end. How can I delete the existing report
first to prevent this from happening ? For tables, I use the following code.
Is there an equivalent method for reports ?
For Each tdef In db.TableDefs
If tdef.Name = "TestTable" Then
DoCmd.DeleteObject acTable, tdef.Name
Exit For
End If
Next tdef
report gets named with a 1 on the end. How can I delete the existing report
first to prevent this from happening ? For tables, I use the following code.
Is there an equivalent method for reports ?
For Each tdef In db.TableDefs
If tdef.Name = "TestTable" Then
DoCmd.DeleteObject acTable, tdef.Name
Exit For
End If
Next tdef