| Troubleshoot speed issues with reports and layouts |
Description | When you run a report or layout to preview, there may be a delay in the time it takes to generate or the following error message may appear: 'The report could not be generated. No data was returned for this Report.' |
Resolution | Before you start, ensure the software isn't running in compatibility mode: - Right click the software icon on your desktop and click Properties.
- Click the Compatibility tab and ensure the Run this program in compatibility mode for: isn't selected.
If the issue persists: Select whether the issue occurs when running a report or layout, for example an invoice or statement. Report Running reports over a network Reports may run slowly when accessed over a network. You can run your reports from your local machine to improve speed. - On the menu bar, click Settings then click Company Preferences then click Reporting.
- Deselect the Use Data Path for Reports check box, then click OK.
- If required, copy the report to your local machine.
- Run the report and check the speed.
- On the menu bar, click Settings then click Company Preferences then click Reporting.
- Deselect the Use Data Path for Reports check box, then click OK.
If the report runs locally, you should troubleshoot any performance issues. Run the report for a smaller selection Try running the report for a smaller number of records. Restore the reports only backup If you experience issues with standard reports and layouts, you can restore the reports and layouts only backups. Check your data - On the menu bar click File, click Maintenance then click Check Data.
- If there are no problems, a message appears informing you of this click OK.
If there are problems with your data, the File Maintenance Problems Report appears. To find out how to fix any errors, warnings and comments, click How to fix errors & warnings in your Sage data or visit sage.co.uk/mydata
- Click Close then click Close.
'No data was returned for this Report' This message appears whenever there is no information found for the criteria given. Follow the steps on our handy guide. Layout Check Restrict mailing isn't set If you're sending letters, check your customer or supplier records aren't set to Restrict mailing. Open the required customer or supplier record, click Credit Control, then clear the Restrict mailing check box. Configure your credit control layout settings Ensure the default credit control letters are configured for Statement, Reminder Letter, Warning Letter and Legal Threat Letter: - Click Settings, click Configuration and then click Credit Control.
- For each layout type, click Browse, choose the required layout then click Open, click Apply and click Close.
- Try running the layout again for one record, if it fails, proceed to the following section.
Restore the layouts only backup If you experience issues with standard reports and layouts, you can restore the reports and layouts only backups. Download the fixed layouts for Statements or Invoices - Click the relevant layout you want to download below.
- If prompted to save the file, browse to where you want to save the file, then click Save.
Depending on your web browser, the file may automatically save to your Downloads folder. To view your Downloads folder, press Ctrl + J on your keyboard.
- Browse to and right-click the downloaded file, then click Copy.
- On the menu bar click Help, then click About.
- Under Program Details click the Data Directory path.
- Open the Layouts folder and right-click and paste in the downloaded layout file.
- Run the new layout from your software. These will be named 'Copy of ...'
Statements Copy of 2008 STATOSA4.LAYOUT Copy of 2008 STATASA4.LAYOUT Invoices Copy of INVPLAINA4.LAYOUT If you never use delivery addresses for the affected layout, refer to the Edit your layout to remove delivery and letter variables section. Set the default delivery address to the registered address NOTE: The address and contacts option isn't available in Sage 50 Accounts Essentials. - Open the customer record and click the Details tab, click Addresses & Contacts then click Preferences and click Default delivery address then click Registered address, click OK, click Close and click Close.
- Try running the layout again for that record, if the layout runs correctly, repeat step 1 for all affected records.
Reindex and compress delivery addresses - Take a backup of your data.
- Click File then Maintenance.
- Select ReIndex Customer Delivery Addresses and ReIndex Supplier Delivery Addresses.
- Click OK then click Yes to the Confirm window.
- Click Compress Now on the Information window.
- De-select the Compress All Data Files checkbox then select Sales Ledger and Purchase Ledger.
- Click Compress, then click OK on the Information window.
- Click Close then click Close again.
- Try running your layout again.
Edit your layout to remove delivery and letter variables - Select the document you want to amend, then click Edit.
- On the menu bar click Report, then click Report Properties.
- Enter a new report name and description, then click OK.
- Click Report, then click Criteria.
- Select LETTER_TYPE.LETTER_TYPE, then click Remove.
- Click OK.
- Click Report, then click Filters.
- Remove the part of the filter that refers to the COMMUNICATION_ADDRESS table.
- Within the layout, delete any delivery address variables. For example SALES_DEL_ADDR or PURCHASE_DEL_ADDR.
- Click Report, then click Joins.
- Select the SALES_DEL_ADDR and press Delete.
- Repeat the previous step for the LETTER_TYPE and COMMUNICATION_ADDRESS tables.
- Re-add the name and address variables from the relevant SALES_LEDGER and PURCHASE_LEDGER tables.
- Click OK.
- Click Report, then click Email Settings.
- Click To:, then select the existing expression.
- Click Edit, then click Clear.
- Enter SALES_LEDGER.E_MAIL, then click OK, then click OK.
- On the menu bar click File, then click Save As.
- Enter a new file name then click Save.
- On the menu bar click File, then click Exit.
Running reports over a network Reports may run slowly when accessed over a network. You can run your reports from your local machine to improve speed. - On the menu bar, click Settings then click Company Preferences then click Reporting.
- Deselect the Use Data Path for Reports check box, then click OK.
- If required, copy the report to your local machine.
- Run the report and check the speed.
- On the menu bar, click Settings then click Company Preferences then click Reporting.
- Deselect the Use Data Path for Reports check box, then click OK.
Run the report for a smaller selection Try running the report for a smaller number of records. Restore the reports only backup If you experience issues with standard reports and layouts, you can restore the reports and layouts only backups. Check your data - On the menu bar click File, click Maintenance then click Check Data.
- If there are no problems, a message appears informing you of this click OK.
If there are problems with your data, the File Maintenance Problems Report appears. To find out how to fix any errors, warnings and comments, click How to fix errors & warnings in your Sage data or visit sage.co.uk/mydata
- Click Close then click Close.
'No data was returned for this Report' This message appears whenever there is no information found for the criteria given. Follow the steps on our handy guide. Go backnull;null;wiz1,report
[BCB:19:UK - Sales message :ECB] |
|