>Hello,
>
>How could I attach an extra variable within a SQL-query to produce a report?
>
>This extra variable will be treated as a parameter base on specific condition. Any help or suggestion is appreciated.
>
>Steve
If you need just a variable then define it before REPORT FORM:
LOCAL cMyheaderstring
cMyheaderstring="Report #123"
REPORT FORM myreport PREVIEW && cMyheaderstring can be used inside
Edward Pikman
Independent Consultant