Re: Report Question
Posted in 1998
Depending on what your repeated code is you could try something like this REPORT thisreport() DEFINE Mreturn char(100) ON EVERY ROW PRINT "something" CALL thisfunc() RETURNING Mreturn PRINT Mreturn END REPORT HTH ------------------------------------------------------------------------- Joseph Cullipher <joseph@cannonexpress.com> Standard Disclaimers Apply ------------------------------------------------------------------------- On 15 Dec 1998, Bryan Sapot wrote: > Can you call a FUNCTION from in side a REPORT. > > Some thing like this > > REPORT thisreport() > > ON EVERY ROW > PRINT "something" > CALL thisfunc() > > END REPORT > > FUNCTION thisfunc() > PRINT "something else" > > END FUNCTION > > I have a lot of repeated code in the report that could be moved to a > function. > > Thank you > > ---------------------------------------------------------------------------- > -- > Bryan Sapot Lawless Technology > bsapot@lawless-tech.com > "Get a life get Unix" >