Antonio:
The same source code works in Clipper but crashes in xHarbour Nov. 2007. Here's the error message:
Error description: Error FiveWin/3 Cannot create Dialog Box:
Resource: PREVIEW_PROC
Stack Calls
===========
Called from: DIALOG.PRG => CREATEDLGERROR(0)
Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)
Called from: REPORT.PRG => TREPORT:ACTIVATE(0)
Called from: TST.PRG => MAIN(69)
Thank you for your help.