GetSQLQuery NOT WORKING with Cry.Rep.5 & NewEra 2.2
Posted in 1997
Topics: General Discussion
Before migrating our NewEra applications to Ver 3. I realised that the classes with Crystal Reports Pro. 5 for NewEra would work with Ver 2.2 I've managed this ok. My test app. now prints a crystal report from within NewEra 2.2. There seems to be 2 problems. Firstly, GetSQLQuery is supposed to return the Query string from the report. Then SetSQLQuery can be used to change that SQL for the report at run time. GetSQLQuery is returning nothing. Does anyone know why? Second problem. Having used an earlier version of Crystal Reports with VB I know it had functions for printer selection. How do you do that through NewEra? The classes have a function PESelectPrinter - I can't understand how to use it! Does anyone have an example of printer selection for NewEra? This is one of the reasons for us using Crystal Reports without having to write 'c' code in our NewEra. Bye for now Tim Correct 'excelsys' to 'excelsis' for e-mail.