Merge function dialog

<< Click to Display Table of Contents >>

Navigation:  Appendicies > Appendix B - Dialog boxes >

Merge function dialog

The merge functions dialog allows you to merge multiple functions into a single function. It is possible that you may at some point, require several functions to be combined into one larger function. The merge function dialog allows you to combine all of these functions into a single function and then delete those that you no longer need. This is a very effective way of tidying up superfluous data within your database and thus reducing your database file size.

 

The merge functions dialog will be displayed if you perform one of the following:

 

Click the button_toolmergefunctions toolbar button                or

 

Select Merge/Bulk delete->Merge functions from the Tools function.

 

 

Resort Restaurant will ask you if you wish to perform a database snapshot before you begin the merge process. This will take a backup of your database before any changes are made so you can revert back to the saved copy if you are not happy with your changes. Select "Yes" to take a snapshot or "No" to continue straight to the merge functions dialog. See the following image.

 

mergefunctiondialog

 

 

The dialog is separated into two main sections. They are the "Select functions to merge" section and the "functions selected for merging" section.

 

Select functions to merge

 

From this section you can select the functions you would like to merge. When the dialog first appears, this section will display all functions in your database in alphabetical order. If you don't want to view all functions, but rather a selection of functions you can use the "Filter" button to filter functions.

 

Using the Filter button

 

The Filter button will allow you to search for functions by the following:

 

Function Name

Functions in a selected Category

Functions from a selected Outlet

Functions using a particular ingredient or recipe

Incomplete functions

Functions modified before or after a certain date

 

Make your selection in the Filter dialog and those functions you have selected to view will be displayed in the browser list. For more information on filtering functions see the Filtering functions help topic.

 

Merging functions

 

You can now select the functions you wish to merge together as well as selecting which function you wish to keep, and those you wish to delete from your database.

 

To select the functions to merge together, double click on the function name or highlight the name and click the "Add" button. This will add the selected function into the functions selected for merging section. Repeat this until all the functions you wish to merge into one are displayed in the functions selected for merging section. See the following image.

 

mergefunction2

 

 

Functions selected for merging section

 

From this section, once you have selected all those functions you wish to merge into one, you must now choose which function you would like to merge all the others into. This process will keep the function you have selected, combining all the information from the other functions listed, such as any recipes, ingredients, quantities and  unit conversions associated with the other functions in the list. It will also delete those functions you have chosen to merge, from your database. See the following image.

 

mergefunction4

 

 

Once you've selected the function to keep, click the "Merge" button to begin the merge process. A dialog will appear to confirm the merge options you have selected.  See the following image.

 

mergefunctionconfirm

 

If you wish to alter your merge selections, click the "No" button. If the details are correct, click the "Yes" button and the merge will begin. Once complete, a dialog will appear to let you know if the merge was successful. See the following image.

 

mergefunctioncomplete

 

Click the OK button. This will return you to the Merge menus dialog. If you wish to perform another merge you may do so. If you don't wish to merge any more menus, click the Close button and you will be returned to the last opened form.