>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