>CREATE CURSOR PgCnt (caseno C(9),PageCnt INT(4)) && accumulates page count by grouping >SELECT Groups && drives the report
>SET REPORTBEHAVIOR 90 > >REPORT FORM Test TO FILE myfile.txt && Error loading printer driver >REPORT FORM Test TO FILE myfile.txt ASCII && Error loading printer driver >REPORT FORM Test TO PRINTER && works properly >REPORT FORM Test PREVIEW && works properly > >SET REPORTBEHAVIOR 80 > >REPORT FORM Test TO FILE myfile.txt && Error loading printer driver >REPORT FORM Test TO FILE myfile.txt ASCII && works properly >REPORT FORM Test TO PRINTER && works properly >REPORT FORM Test PREVIEW && works properly >>Perhaps the above results were common knowledge but they were a surprise to me. Obviously I need to Set Reportbehavior 80 and use the ASCII clause when printing to file to prevent the application from hanging on the error when it tries to load the printer driver. This is occuring with SP1. It would be interesting to run the same code with SP2....