For Programmers: Free Programming Magazines  


Home > Archive > Clarion > January 2008 > Report Based on query









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Report Based on query
Jsan618

2008-01-04, 3:55 am

Has anyone gotten: 'How to create a report based on a Browse Query'
from the help system to work?

I have entered the instructions as shown in the help files. I get
several error such as 'illegal datatype' on the string they
recommend.

Expected <ID> <Linebreak> CODE INCLUDE OMIT....

If GLO:ReportQueryResult <> ''
ThisReport.SetFilter(GLO:ReportQueryResult)
ThisReport.ApplyFilter()
GLO:ReportQueryResult = ''
End

I have typed, retyped may combinations of SV's instructions.

Ver 5.5, This is starting to get very frustrating!
Robert Peros

2008-01-04, 3:55 am

"Jsan618" <tcs@mvn.net> wrote in message
> Has anyone gotten: 'How to create a report based on a Browse Query'
> from the help system to work?
> I have entered the instructions as shown in the help files. I get
> several error such as 'illegal datatype' on the string they
> recommend.

Inside Report procedure after parent call

> If GLO:ReportQueryResult <> ''

SELF.SetFilter(GLO:ReportQueryResult)
SELF.ApplyFilter()
> GLO:ReportQueryResult = ''
> End


GLO:ReportQueryResult should be acessible by procedure
like global data or parameter

R.



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com