>Hello Guy
>Thank you for your quick answer.
>Your suggestion works, but i have to store the result in a variable, because i have to print the barcode twice.
>First with speciall barcode font and additionally "human readable" with normal font.
>I can't call f_fetch_barcode twice because then i would get another number.
>So i need a variable that is filled with the result of " f_fetch_barcode" on every new page and i don't
>know how to code this.
>
>Best regards
>Albert
Create a report variable BarCode with value to store ''.
In the report Header OnEntry try
_VFP.SetVar('BarCode', myFunc(myparameter)
Use this variable in header and footer.
If it's not broken, fix it until it is.
My Blog