For Programmers: Free Programming Magazines  


Home > Archive > Clarion > April 2004 > Using variables not in a data tables in filter expressions? i.e. procedure parameters









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 Using variables not in a data tables in filter expressions? i.e. procedure parameters
Jesse

2004-04-21, 12:32 pm

I have a report procedure that I would like to pass a variable to. I would
then like to use this variable in a filter expression. However, the only
way I have been able to achieve this is by creating a Local variable and
then assigning the value of the passed variable to the local variable.

ex.

PROCEDURE PrintReport(ReportNo)

CODE
L:ReportNo=ReportNo


L:Report is then bind(ed) and then used in the filter expression

Is there a more direct way of doing this?

Thanks
JB


Sponsored Links







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

Copyright 2008 codecomments.com