Hi Larry,
My wrapper does this:
LOCAL ThisReport
ThisReport = This
Then I use ThisReport.Title as well as ThisReport.OnEntryDetail(), ThisReport.PageNo() and such.
So you are telling me I could just shorten it to "THIS"?
I just checked and it does work. Very good Larry.
>Hi All,
>I am in the process of creating a report and I tested something just to see if it would blow up. It didn't so I wanted to see if I am just late in discovering this "feature" and if so, how many out there are using it.
>
>In order to handle a lot of the cursor building stuff, I run my reports through a wrapper class. The class is a form (it used to be the only datasession object around) with a private datasession. I wanted to find out if I could add properties to the wrapper class and use them in the report for header/summary stuff. It worked!! I was able to use AddProperty in the wrapper class and display this on the report using THIS.MyNewProperty. I guess reports are different than PRGs.
>
>Comments?
Charlie