.
The Daybook e-letter news, tips and features to help you get the best from your system

  • more info
  • back to newsletter
  • Power search your database

    The ability to do powerful searches that range across your entire business data, to analyse it, extract statistics and generate highly targeted management reporting-this is one the key benefits of having a truly integrated system that is also, in database-speak 'relational'. It has always been a compelling reasons to choose a Daybook system and its power reporting still keeps it at the top of the league.

    Both Enterprise 6 and Modulus have a remarkable ability to run queries that move from table to table, while in Enterprise 6.1 the new Search Manager also lets you save these searches, no matter how complex they may have been and put the results with one click into the Data List Manager.

    This month's Tip of the Month does not, however go into the Enterprise 6-specific features, but describes how you can do cross-file searches quickly and painlessly.

    Let's take the example of getting a list of contact for a marketing campaign. You want list of all decision makers working in London for companies that have photocopiers under contract that are now more than three years old.

    There are some essential rules to remember when doing complex searches:

    1. Start where you mean to end
    Quite simply, if you want to have a list of contacts at the end of your search, that's what your first query is.

    2. Plan your search before you do it
    In this case it will go as follows:

    Find Contacts - Role is DM (decision maker) [find all decision makers]
    Via the Find Menu to Companies - Town=London [narrow the list down to those that work for companies in London]

    Via the Find Menu to Order Items - Product Code=COP (i.e. the Group Code for the product is COP - Copiers); Invoice Date from 00/00/00 to 1/6/02 ['on a copier invoiced more than three years ago]; Contract #"" (this means 'is not equal to'' [#] 'nothing' ["" - quote marks enclosing nothing].

    Note: when you enter "COP" in the Product Code field, you must ensure that the No @ Lists check box is on. This is off by default, which would cause a list of product codes to appear for you to select from. In this case we want to include a range of products, all of which begin "COP'"

    There is another check box, which is off by default and needs to stay so. This is the No Auto @ box. By default the system puts an invisible "@" sign at the end of what you type (in this case COP turns to COP@). The @ symbol is a 'wildcard' - and means 'any character combination': COP@ means 'all products beginning with COP. If you wished to find a product called COP, then you would have to turn this checkbox on.

    3. In the case of really complicated searches, you can actually do several different searches and gradually reduce your selection of records. To do a second search within a selection of records that you have already produced, have the window containing your selection of records active, hit the Find button, select More Choices and use the Search in Selection check box in the More Choices screen. In this case it is not necessary.

    4. There are a number of additional tools which can help you

    The Sets Manager.
    This lets you save sets of records and combine, exclude and intersect sets. This is useful as a way of saving your work in case you make a mistake later on.

    The Data List Manager (Enterprise only)
    You can drag a selection of records to the Data List Manager in order to save them for future use

    Bear in mind that both the Sets Manager and the Data List manager can be accessed in the middle of a search to reference selection of records that you saved earlier . We will show you how to use them for searching next time.

    The Selection Manager (Enterprise only)
    This is particularly useful for those dreadful moments when you realise that you have just hit the wrong button and lost the last ten minutes' work. The SM stores your record selections and lets you go back to previous ones.
    The Functions Menu (within More Choices) lets you include a range of function in your searches.

    Learning how to use these tools can really make a tremendous difference to your ability to extract information from the system. They are all quite simple to get to grips with and well worth the effort.

    So, having planned your search, all you have to do now is execute it. As you range across your database, going from table to table, you are gradually refining your search. When you finally reach the Order items table, you hit the Find button, and keep on doing so as the system returns you, table by table, to your final list of contacts.

    Good luck with the marketing campaign!

     

    Back to main newsletter »

     
    e-mail:info@daybook.co.uk voice: 020 7582 4000 web: http://www.daybook.co.uk