thanks for your reply, there is no code as such, it's a printer setup saved in foxuser.dbf, I've now recreated the report from scratch run a query to generate a flat file ( the original had four tables and set relation etc... ) and it works okay, don't ask me why...
cheers
Pete Kane
Regards,
Peter J. Kane
Pete