Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Criteria to reports
Message
 
 
To
18/02/2010 12:40:43
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01449749
Message ID:
01449750
Views:
51
>Hello! i have the following to preview my reports (it does something weird but thats another story)
>
>
>    loListener = newobject('_ReportListener', ;
>   home() + 'ffc\_ReportListener.vcx')
>   loListener.ListenerType = 1
>   KEYBOARD "{ctrl+f10}" 
>   loListener.AddReport(('client_app1'),'nopageeject')
>   loListener.AddReport('student_app')
>  * loListener.AddReport('studenst_app_old')
>  *loListener.AddReport('report2')
>   loListener.RunReports()
>
>
>
>before i use to do normal report so adding the following criteria
>
>	report form student_app for client.clientid = ApprClientId 
>
>was easy.
>Looking at the code...im not too sure i can say the same thing in my new code. Or can i?
>or should i just do a query and select the record i want

I think you need to set it using CommandClauses property. Do a research in this direction. But actually Help doesn't provide any example of how to do this.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform