Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Filter Parameters
Message
De
08/10/2002 09:37:54
 
 
À
08/10/2002 09:18:31
Ashish Patel
Hindustan Petroleum
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00708716
Message ID:
00708723
Vues:
9
>Hi All
>I have using Visual Foxpro 6.0 and I have designed a report using report designer. I am accessing two files which I have added with the help of "Data Environment". Main file is having a field rocode which I have mapped with another file which has roname (rocode is common). There is one more field in the main file called sacode. I want my user to pass the value for this field and only generate report where sacode = code supplied by user. Can I do that ? Pl. help.
>

You can do this in a number of ways; the easiest might well be to simply add a FOR clause to the REPORT statement:
cSACodeToMatch = 'Foo'
REPORT FORM MyReport TO PRINTER FOR Main.SACode = cSACodeToMatch
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform