469,076 Members | 1,437 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,076 developers. It's quick & easy.

Detecting No default Printer Installed

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
Nov 13 '05 #1
4 3004
MA

"Patrick Fisher" <in**@psoftuk.com> ha scritto nel messaggio
news:tj********************************@4ax.com...
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
Nov 13 '05 #2
"Patrick Fisher" <in**@psoftuk.com> wrote in message
news:tj********************************@4ax.com...
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
Nov 13 '05 #3

Thanks Bruno
Patrick
On Thu, 04 Nov 2004 17:04:39 GMT, "Bruno Campanini"
<br****************@tin.it> wrote:
"Patrick Fisher" <in**@psoftuk.com> wrote in message
news:tj********************************@4ax.com.. .
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


Nov 13 '05 #4
Hi
Unfortunately Bruno's suggestion did not work in Access 97, does
anyone else have a suggestion.
Thanks
Patrick

Nov 13 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by vulcaned | last post: by
reply views Thread by emde | last post: by
2 posts views Thread by Willem | last post: by
4 posts views Thread by David C. Barber | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.