WHERE IS THAT ONINIT TRIGGER IN REPORT

NOW I CREATING REPORT TO EXCEL.

BUT THE POINT IS THAT WHEN REPORT WILL RUN THE EXCEL BUFFER MUST BE EMPTY.

SO FOR THE SAME I HAVE TO WRITE CODE IN ONINIT TRIGGER OR REPORT

BUT I M UNABLE TO FIND WHERE IS THAT.

PLEASE TELL ME

ALSO IF THERE IS ANY OTHER WAY TO MAKE EXCEL BUFFER EMPTY

OnInit is a form trigger. not report.

And if you want a form in excel, then there is a button for that on the top of a formwen you RUN it.

Go to the Design mode of your report,focus on an empty data item line and press F9 there you can find OnInitReport()

0116.OnIntitReport().bmp (178 KB)

Thanks

Jerome Marshal.J

You can write code but can’t find the OnInitReport Trigger? [*-)]
Isn’t that Creating Reports 101?

TempExcelBuffer.DELETEALL;

Extra Note: Common courtesy, social graces and socially acceptable behavior.
All are used in a civilized society where humans interact with one another.
Cyberspace is not any different. That’s where Internet Etiquette comes in.
Please Don’t use all CAPS - It’s Internet etiquette for yelling.