I have an application I originally designed in A5V5. The client requested an upgrade to V10.5. We opened the old app in V10.5 and tested all the forms, reports and code. One of the reports will not function properly. The report takes data from a main Customer info table and matches it with data from 2 child tables. The subreports are filtered using the scanning function;ex.
SCANNING("APPLICATIONS").AND.APPLICATIONS->UNIT=SYSTEM3.AND.APPLICATIONS->DATE=LDS
Where the applications table is filtered by the customer number and then the unit # and a date of service. The report contains 12 subreports. The problem we are having is that instead of printing the report on a single page it is printing a separate page for each system. In the application the user has the option of printing the report for the currently viewed record, and it will print as designed. The user also has the option of running a query and printing the reports as a batch; by route, zipcode ...
When printing as a batch the report will print one page for each child record. The pages will be ordered so that all of the reports with one system will print, followed by all the reports with 2 systems and so on. I have tried executing the report without any queries and it still prints as multiple pages. There are other reports in the app that use subreports, but not the scanning function. These work as designed when printing batches based on queries. If I open a copy of the app in the original v5 the report works as designed. According to the documentation and help files the scanning function is supported by the versions 5 and 10.5. Does anyone know of any conflicts with subreports or the scanning function between v5 and v10.5? Thank you for any help or advice.
Jeff Carroza
SCANNING("APPLICATIONS").AND.APPLICATIONS->UNIT=SYSTEM3.AND.APPLICATIONS->DATE=LDS
Where the applications table is filtered by the customer number and then the unit # and a date of service. The report contains 12 subreports. The problem we are having is that instead of printing the report on a single page it is printing a separate page for each system. In the application the user has the option of printing the report for the currently viewed record, and it will print as designed. The user also has the option of running a query and printing the reports as a batch; by route, zipcode ...
When printing as a batch the report will print one page for each child record. The pages will be ordered so that all of the reports with one system will print, followed by all the reports with 2 systems and so on. I have tried executing the report without any queries and it still prints as multiple pages. There are other reports in the app that use subreports, but not the scanning function. These work as designed when printing batches based on queries. If I open a copy of the app in the original v5 the report works as designed. According to the documentation and help files the scanning function is supported by the versions 5 and 10.5. Does anyone know of any conflicts with subreports or the scanning function between v5 and v10.5? Thank you for any help or advice.
Jeff Carroza
Comment