Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Criteria to reports
Message
From
18/02/2010 13:55:39
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01449749
Message ID:
01449766
Views:
30
>>>>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.
>>
>>
>>err...i looked at it...but the commands dont seem like what i wana do :(
>
>I spent some time as well in the Help trying to find something useful, but didn't. I didn't try to google on this problem.

oh...well..it cant be done?i saw something.. but its..
http://spacefold.com/articles/tmm/CommandClauses.aspx
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform