Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameterized view in a report
Message
De
18/08/1997 18:12:08
 
 
À
18/08/1997 17:17:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00045394
Message ID:
00045414
Vues:
49
>>>How wuold I go about basing a report on a parameterized view? Is it possible without using a public variable? ie- can I pass the paramater by value to the report?
>>
>>It's actually local variable:
>>
>>***cmdRunreport click event
>>local nViewparameter
>>nViewparameter=....
>>Select view1
>>=requery()
>>Report Form ....
>
>Do you mean add the view to the calling form's DE and requery from there? This wouldn't work with private datasessions... I don't think I understand

why do you say that if your form does not have any DE it will use the calling form's DE (even if it is private)

I have a report with I need to print with different headers and different subsets of the data, I use this approach (with private datasession)
btw, I also exlude the report and change headers etc. before I print the report (this way I save on the number of reports files needed)

Arnon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform