A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Option to Print reports for selected records



 
 
Thread Tools Display Modes
  #1  
Old August 27th, 2009, 05:15 AM posted to microsoft.public.access.reports
Frank Situmorang[_3_]
external usenet poster
 
Posts: 61
Default Option to Print reports for selected records

Hello,

This is my VBA to open the report. Since there are hundered of pages, how
can I make it when we click the button, it opens the reports, and after that
at the same time on top of the report before we print it there is a kind of
filter to filter the report to print.

If the pop up is the small form the form should be above the reports and it
will closed when we clik OK to print. I just want the filter to pop up
simultaneously when opening the report. What should I add in this VBA:
Private Sub UpdateDatakeanggotaan_Click()
On Error GoTo Err_UpdateDatakeanggotaan_Click

Dim stDocName As String

stDocName = "Update Data Keanggotaan"
DoCmd.OpenReport stDocName, acPreview


Thanks for any help.

Frank

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.