|
-
Dec 11th, 2001, 12:41 PM
#1
Access - Publish report to word and save
I have an access 97 report that must be closed as the table it is based on must be deleted. However, I would like an input box to appear asking if they want to save the report.
Therefore, I would like to (In code) publish it to word and save it.
Any thoughts?
-
Dec 11th, 2001, 01:09 PM
#2
Why delete the table? Why not just delete all records in the table, thus maintaining the relationship between it and the report?
-
Dec 11th, 2001, 01:28 PM
#3
Hindsight is a wonderful thing
You're absolutly right. Wish i'd thought of that. However, project is done with the exception of this and it would cause way too much grief to go back and change.
-
Dec 11th, 2001, 02:06 PM
#4
is there a command for that?
I am going to cave and do what you said. Is there a command you know of to dump a tables contents? The only way I know howw to do this is deleting every row of a recordset but there has to be a more efficient way of doing that......
Any ideas??
Thanks a bunch
-
Dec 11th, 2001, 03:02 PM
#5
VB Code:
Dim SQL As String
SQL = "DELETE FROM tablename"
dbobject.Execute SQL
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|