Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / December 2005

Tip: Looking for answers? Try searching our database.

Create SnapShot File on Deactivate.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bill Barber - 19 Dec 2005 23:01 GMT
When I view my University Labels File and go to close it I want to create a
SnapShot file.

On DeActivate I have the following code.  This code fails without a halt or
message.  Does anyone know what I am doing wrong?

DoCmd.OutputTo acReport, "LabelsUNV", "Snapshot(*.snp)", "LabelsUNV", True

Also it keeps opening the Access Report Program, not the Snapshot viewer.

Thanks

Bill
GrandMaMa - 20 Dec 2005 23:32 GMT
Bill, Glad to talk to you again.  My homework file is failing the same way.  
Sometime between July and now something has happened!  I tried about four
different things and none worked!

If you frind a solution get a hold of me.  You might try removing True at
the end of your statement, I beleive this is the reason it will not close.  
Well I guess the kids will be happy over the holidays.  

> When I view my University Labels File and go to close it I want to create a
> SnapShot file.
[quoted text clipped - 9 lines]
>
> Bill
Len - 21 Dec 2005 02:32 GMT
Bill and Grandma;

Correct code is DoCmd.OutputTo acReport, "LabelsUNV", acFormatSNP,
"C:\YourDirectory\LabelsUNV.snp"

The above statement will work on 2002(XP) and 2003. It will not work on 97!  
I do not know about 2000.

Do not feel bad, it was changed since 97.

Good Luck

Len

> Bill, Glad to talk to you again.  My homework file is failing the same way.  
> Sometime between July and now something has happened!  I tried about four
[quoted text clipped - 17 lines]
> >
> > Bill
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.