Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of THIS in a report
Message
De
19/10/2001 12:00:21
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00570893
Message ID:
00570927
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform