Print Page | Close Window

Does PrePopulate fire on a report?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=15918
Printed Date: 10 May 2024 at 4:30am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Does PrePopulate fire on a report?
Posted By: corrado
Subject: Does PrePopulate fire on a report?
Date Posted: 23 December 2009 at 8:38pm
I'm trying to use MS Access report to print Calendar.
On a form I'm using PrePopulate event to filter events displayed.
Seems like this does not work on a report.
PrePopulate does not fire at all..
What I am doing wrong?
Thank you



Replies:
Posted By: mdoubson
Date Posted: 27 December 2009 at 3:34pm
You need to put all needed code in handler with call your report form: connect to datasource, get range from you main form calendar and set same range and same view type in your report form calendar - call populate and redraw - make needed print options and print settings - NOW call printpreview - it will work in any access version


-------------
Mark Doubson, Ph.D.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net