>Hello Terry
>Thank you for your quick answer.
>I tried this, but then f_fetch_barcode was called for each record of mycursor
>
>Best regards
>Albert
Not sure why that would be. For instance if I put total vars in a form, with a SUM function to a report field, I don't get it for every line in the rpt cursor!
How about inserting an OLE control and setting its control source property to an expression, and putting the func(0 in the expression builder?
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.