DEBUG SUSPENDstatements before and after the
Report form ... Preview(also notice that without IN SCREEN clause, Report form statement will do the preview in your debugger window!!!)
DEBUG SUSPEND && to stop program execution before the report is previewed DODEFAULT() && here in brackets you may need to enter the methods parameters (if you have parameter statement on the first line) SUSPEND && to stop program execution after the report is previewed... and then I get something about stack or something and everything in the debugger gone and I can't even see where the error occured.
program(-1)value in this moment. If it is 0 (zero) it means that at the moment processing is on the READ EVENTS statement (the ReportPreview method has finished its execution)
Make solutions, not programs!