hiding access window and opening Report preview (1 Viewer)

nelson

Registered User.
Local time
Today, 15:37
Joined
Nov 10, 2005
Messages
19
Hi,

I successfully made this work, but when opening a report to preview it (using a button click) . it doesn't show up, is there a workaround with this? Thanks in advance.

Kind Reagrds.
Nelson
 

Vassago

Former Staff Turned AWF Retiree
Local time
Today, 18:37
Joined
Dec 26, 2002
Messages
4,751
You'll have to make the access window visible while the report is showing and then when the report is closed, have it hide the access window again. This is the only way I have found to make this work.
 

nelson

Registered User.
Local time
Today, 15:37
Joined
Nov 10, 2005
Messages
19
hehehe ok ok..thanks !!! :)
 

nelson

Registered User.
Local time
Today, 15:37
Joined
Nov 10, 2005
Messages
19
ok, I've done it but how to I make the preview for the report to be on top ? Any idea ? Thanks in advance. :)
 

nelson

Registered User.
Local time
Today, 15:37
Joined
Nov 10, 2005
Messages
19
DoCmd.OpenReport "Labels-Bishops", acPreview, , , acDialog
, it's ok...done it... hehehe :)
 

rahulgty

Registered User.
Local time
Today, 15:37
Joined
Aug 27, 2005
Messages
99
Hey .....
I don’t think its compulsory to show access window just for report. You can use Snapshot Viewer Control to display and print report.

rahulgty
 

nelson

Registered User.
Local time
Today, 15:37
Joined
Nov 10, 2005
Messages
19
can u show me an example in VB code ? thanks... :)
 

nelson

Registered User.
Local time
Today, 15:37
Joined
Nov 10, 2005
Messages
19
i got the SNAPSHOT viewer...but I have no xp on using Snapshot viewer... :) this will really make things looks really nice...when a normal user logs in it hides all the Access Window...but when an admin logs in..everything is there...
 

rahulgty

Registered User.
Local time
Today, 15:37
Joined
Aug 27, 2005
Messages
99
Yea sure

you can view directory in this application without maximizing access.

rahulgty
 

Attachments

  • Sample.zip
    123.8 KB · Views: 475

nelson

Registered User.
Local time
Today, 15:37
Joined
Nov 10, 2005
Messages
19
yay ! thanks !!! this is very helpful !! will study the code and implement this to my project ! :) :D :D :D :D :D :D
 

nelson

Registered User.
Local time
Today, 15:37
Joined
Nov 10, 2005
Messages
19
yay !!! no more access window!!! muahahaha using Snapshot viewer now!!! *yay* !!! thanks heaps:D :D :D :D :D :D !!! :)
 

Users who are viewing this thread

Top Bottom