Confused about when procedures are called

Questions related to Report templates and creation of reports.

Confused about when procedures are called

Postby Logomachist » Wed Jun 25, 2008 2:49 am

I'm still having trouble getting my head around when each procedure is called. From my own observations it would seem that <code>Memo2OnBeforePrint(Sender: TfrxComponent)</code> is called twice per test, once before the memo is printed and once after. From the name, I would have assumed that it would only be called once, so I'm confused.

Is there an explanation of this in the help file somewhere, or is there documentation online I could look at?
Logomachist
 
Posts: 6
Joined: Sat Mar 15, 2008 8:30 pm

Re: Confused about when procedures are called

Postby Admin » Sun Jun 29, 2008 9:25 am

If you set Double pass options for report this procedure will called twice on first and second pass. More information about double pass options in help file.
Admin
Site Admin
 
Posts: 40
Joined: Tue Feb 28, 2006 8:22 am


Return to Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron