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 / General 1 / November 2004

Tip: Looking for answers? Try searching our database.

Detecting No default Printer Installed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Patrick Fisher - 04 Nov 2004 15:23 GMT
Hi
I want my program to throw up a message whe the user tries to open a
report where a default printer has not been installed as Access 97
just sits there refusing to open the report with no message..
Thanks
Patrick
MA - 04 Nov 2004 16:29 GMT
> Hi
> I want my program to throw up a message whe the user tries to open a
> report where a default printer has not been installed as Access 97
> just sits there refusing to open the report with no message..
> Thanks
> Patrick

Installing a false printer
In fact without you can't also format the datasheet subform
MAssimiliano
Bruno Campanini - 04 Nov 2004 18:04 GMT
> Hi
> I want my program to throw up a message whe the user tries to open a
> report where a default printer has not been installed as Access 97
> just sits there refusing to open the report with no message..
> Thanks
> Patrick

If Application.Printers.Count = 0 Then
   MsgBox "You don't have any printers installed!"
End If

Hoping this works with Access97 too.

Bruno
Patrick Fisher - 04 Nov 2004 19:07 GMT
Thanks Bruno
Patrick

>> Hi
>> I want my program to throw up a message whe the user tries to open a
[quoted text clipped - 10 lines]
>
>Bruno
Patrick Fisher - 04 Nov 2004 19:39 GMT
Hi
Unfortunately Bruno's suggestion did not work in Access 97, does
anyone else have a suggestion.
Thanks
Patrick
 
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.