Hi,
When printing to the Adobe Acrobat Distiller print driver, the default 'MS-DOS' path changed. The result is that after returning from the reportform, several files aren't found anymore and the app crashes.
I changed the code in the Run button click method (creportform class in ccustfrm.vcx) as follows:
LOCAL lcCurdir
** When printing to Adobe Acrobat Distiller print driver,
** the 'MS DOS' path may have been changed
** Therefore: restore it after printing
lcCurdir = SYS(5)+CURDIR()
DODEFAULT()
SET DEFAULT TO &lcCurDirThis seems to work. Is this the right approach?
Mark
If everything seems to be going well, you obviously don't know what the hell is going on !