>Hi everyone!
>
>I'm trying to do a REPORT FORM XX FOR UDF() WHILE UDF2() PREVIEW
>
>the UDF() while seek throw other tables and check some condition.
>
>When a preview the first page and the PgDn other page all the relation (done in the UDF()) go ok! But if I do PgUp the review other page. The relation (of the UDF()) base on a wrong record because some relation ar mix up
>
>
>Any suggestion !!!!
>
>Thank you all :-)
>
>Luc St-Pierre
>maximum@maximum.ca
AFAIK, Report Preview doesn't respect FOR/WHILE exactly as your described. You may consider collecting records into report cursor.
Edward Pikman
Independent Consultant