Solved Peg header code not invoked

PaquettePaul

Member
Local time
Today, 13:18
Joined
Mar 28, 2022
Messages
107
Quick question. I have code in my report page header that fills in some fields. However, this section of code does not get invoked. I tried with the debug pointer on and nothing happens. Been a while, but there does not appear to be anything on the report that says there is an event procedure for page header. Any ideas?
 
There certainly are events for page header. Exactly where have you placed this code? What is the code?
 
Even with a msg box command or a debug checkpoint, the code never gets executed
 

Attachments

  • image.jpg
    image.jpg
    4.8 MB · Views: 227
I have used this approach in the past with no problem. I started with a new report design and I cannot get the code to execute.
 
Should copy/paste code into post. Images can be hard to read and code cannot be copy/pasted.

Format event only executes for PrintPreview or direct to printer, not ReportView.

Could have expression in textbox that references form control.

And other textbox can reference a public function that returns value of global variable or use TempVars which can be referenced directly in ControlSource.
 
Forgot so much after 12 years. I needed to be in the page section to look at the properties for that section.
Another well duh moment
 

Users who are viewing this thread

Back
Top Bottom