Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Filter Parameters
Message
From
08/10/2002 09:37:54
 
 
To
08/10/2002 09:18:31
Ashish Patel
Hindustan Petroleum
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00708716
Message ID:
00708723
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform