The Expression Editor in Sage Report Designer contains a Snippets Manager feature, which you can use to save common expressions and calculations to use in future expressions and filters.
Advanced conditional formatting can also be saved as snippets in the same way as filters.
NOTE: This article has been prepared and issued to you as a goodwill gesture only and Sage accepts no liability or responsibility for its use. For further support please refer to your Business Partner.
These are the basic steps that explain how to use the Snippets Manager. They include:
NOTE: Quick steps provide the minimum amount of information you need. For further information, please refer to the Detailed steps tab.
This article assumes that you have located the report or layout that you want to amend and opened it in Sage Report Designer.
NOTE: When creating a filter, if the Modify Filter window appears, to open the Expression Editor window click Use Advanced Filter.
Begin creating your expression or filter > Expression Editor window > Functions pane > double-click the Snippets folder > to expand the group containing your snippet click the plus sign to the left of the folder.
TIP: You can check your Report Designer version in Help > About > Application > File Version.
The following detailed steps contain everything you need to help you use the Snippets Manager.
This article assumes that you have located the report or layout that you want to amend and opened it in Sage Report Designer.
NOTE: If any of the panes mentioned in this section are not visible, open the View menu and select the required pane. If the pane doesn't appear, you can reset the Report Designer view to its default. For further information about this, please refer to the following article.
You can access the Expression Snippets window from the Tools menu or, when creating a filter or expression, from within the Expression Editor window.

| Groups | Using groups you can store your snippets in separate folders, making them easier to find. For example, you may want to have a series of snippets to filter your customer reports, stored in a folder called Customer Snippets. Tip: The default group is MySnippets. |
|---|---|
| Description | The description of your snippet. |
| Author | The name of the person who created the snippet. |
| Expression | The expression or filter you created appears here. This box cannot be edited, for information about modifying a snippet please refer to the section To modify a saved snippet. |
| Add Group | Use this option to add a new group to store your snippets. |
| Add | Use this option to create a new Snippet. For information about creating a snippet please refer to the section To create a snippet using the Expression Snippets Manager. |
| Remove | Use this option to remove an existing snippet group. This option removes the group and all snippets it contains. You can also use this option to remove a snippet. For information about removing a snippet please refer to the section To delete a saved snippet. |
| Modify | Use this option to change a saved snippet. For information about modifying a snippet please refer to the section To modify a saved snippet. |

| Choose the Group to save in | Using Groups you can store your snippets in separate folders, making them easier to find. For example, you may want to have a series of snippets to filter your customer reports, stored in a folder called Customer Snippets. |
|---|---|
| Name | You must enter a name for the snippet before it can be saved. The name appears in the Functions pane when you select a snippet. |
| Description (optional) | You can enter a description giving more information about your snippet. This description appears in the Expression Snippets Manager window. |
| Author - (optional) | You can enter the name of the author of the snippet. By default, the name shown here is the user currently logged on to Windows. |
| Expression | The expression or filter you created appears here. This box cannot be edited, if you want to change the expression or filter you should close the Snippets Manager window and return to the Expression Editor. |
| Add | You can use this option to add a new group in which to save your snippets. |
| Remove | You can use this option to remove an existing group folder and all the snippets it contains. |
TIP: The default group is MySnippets.
NOTE: For further information about the options within the Expression Editor window, please refer to the previous section.
You have now saved your snippet. The new snippet is available the next time you open the Expression Editor window. If required, make any change to the document, then save your changes. For further information about how to save the amended document, please refer to the section To save the changes to your document later in this article.
TIP: Alternatively, if the filter or expression you want to save as a snippet already exists on the report, you can open it within the Expression Editor. For example, double-click the required expression on the report design, or to display any existing filters, open the data menu and choose Filter.
NOTE: When creating a filter, if the Modify Filter window appears, to open the Expression Editor window click Use Advanced Filter.
You have now saved your snippet. The new snippet is available the next time you open the Expression Editor window. If you have applied a new filter or expression, or made any other changes to the document, you must save your changes to the document. For further information about how to save the amended document, please refer to the section To save the changes to your document later in this article.
To open the Expression Editor window, begin to create your expression or filter. For example, to create a filter open the Data menu and choose Filter or to create an expression, in the Toolbox pane, click Expression then click on the report design where you want the expression to appears.
For further information about creating filters please refer to article or for information about how to create an expression, please refer to article .
You have now used a snippet within an expression or filter and should make any further changes you require to the document and save your changes. For further information about how to save the amended document, please refer to the section To save the changes to your document later in this article.
You have now added a saved snippet to a report and should make any further changes to your document then save your changes. For further information about how to save the amended document, please refer to the section To save the changes to your document later in this article.
You have now modified a saved snippet and should make any changes you require to the report and save your changes. For further information about how to save the amended document, please refer to the section To save the changes to your document later in this article.
You have now deleted your saved snippet and should make any changes you require to the report and save your changes. For further information about how to save the amended document, please refer to the next section.
NOTE: If you have not made any changes to the edited document, and have only created, amended or deleted a snippet, without affecting an expression or filter on the report or layout, you do not need to save the document. To close Sage Report Designer, open the File menu, and choose Exit.
You have now saved your amended document.
TIP: If you have any difficulty finding a recently saved document, you can open it from the Report Designer Recent files list and save it to the required location. To open a recently viewed report, from the Sage Accounts desktop open the Tools menu, choose Report Designer then from the Recent files list, click your required report.
NOTE: If you are viewing this article from the Sage website, a list of Sage 200 Report Designer articles are now available.
If you're unable to find the help you require from our online resources, log a new case with us without having to use phone or email. Simply select 'Manage your cases' from the dashboard or visit my.sage.co.uk/cases.
Did you know Sage 200 customers now have access to a range of services direct with Sage. These include a bespoke Report Design Service, a library of How to Webinars and Ideas Portal just to name a few. Explore your potential using Sage 200 Services.