- Posts: 675
- Joined: 11 Oct 2014 07:59
- Family Historian: V6.1
- Location: London
When I click on the query title bar arrow I get a massive list of queries.
At first glance I dont see any difference between the standard and custom queries, nor the different types of query (individual and fact).
Each query has a description field. Is it possible to search these, using the fh text search? I have tried and think not.
Some custom queries are my own failed attempts to write a previous query. So I must delete those. But I would also like to clarify the naming.
How do other people name their queries?
Do other users re-use their queries? I have found it quicker to write a new query than to track down and use an old one. And that just adds a new one to my list and as I am in a hurry I dont name it or describe it properly.
Time to reform. And I would welcome suggestions.
- Posts: 14443
- Joined: 25 May 2010 11:00
- Family Historian: V6.2
- Location: Torbay, Devon, UK
Firstly, in the Query title drop-list all custom Queries end in the word (custom) so that is a clue
(Similarly all custom Text Schemes end with (custom) too.)
Also on the right it says either Custom Query or Standard Query (read only).
You are correct that you cannot search for text in the Description field in a Query, but that would only work if you were diligent enough to write those Descriptions, and in that case you'd probably take more care with naming the Queries.
You admit you fail on both counts. What is that old saying "More haste less speed"?
Tip: Select the General tab in the Query Window then as you select each Query name all its details such as Type and Description are immediately shown.
The general advice is to be consistent & meaningful, similar to naming any FH Records or Windows Filenames.
Have a naming scheme and stick to it.
To organise Windows Files you can group them into folders, but you cannot do that with Queries, etc.
Instead, start all related Query names with the same keyword so they are grouped together.
BTW: To rename a Query use the Query Menu > Save As Custom Query and give it the new name, and subsequently use Delete Custom Query to remove the old Query.
DavidNewton wrote:Mike is right about the consistent naming but sometimes you have a small number custom queries which you use regularly and you want the name to "jump right out at you". For these I add a $ sign (any other non- alphanumeric would do) to the front of the name which puts them up to the top of the list
I totally agree! I generally use the underscore(s) as a prefix, to lift them to the top of the sorted list.
NB A double underscore prefix sorts higher than a single underscore prefix.
This is a good method that can be put to good use wherever you have an alphabetical list. It can be used for Report Names, Queries, as well as filenames and folders in Windows.
- Posts: 204
- Joined: 19 Nov 2014 17:52
- Family Historian: V6.2
- Location: Corfu
It would be useful, I think, if Calico could come up with some sort of sub-folder type of control on the two lists.
Who is online
Users browsing this forum: No registered users and 19 guests