* Keep Query from being overwritten.

For users to report plugin bugs and request plugin enhancements; and for authors to test new/new versions of plugins, and to discuss plugin development (in the Programming Technicalities sub-forum). If you want advice on choosing or using a plugin, please ask in General Usage or an appropriate sub-forum.
Post Reply
User avatar
KennethEvans
Diamond
Posts: 52
Joined: 18 Nov 2019 15:17
Family Historian: V6.2

Keep Query from being overwritten.

Post by KennethEvans » 28 Nov 2019 18:29

If I use Show Project Statistics, it gives me a Query box in the Navigation bar. If I do it again, it overwrites it rather than making a new one (with the same name). In addition, if I do Search and Replace, it overwrites the one from Show Project Statistics, even though the name in the box is different.

I there a way to make it create a new one each time?

(Show Project Statistics gave me Fact errors about birth/date inconsistencies but didn't tell me which records were involved. I needed Search and Replace to find them. It was inconvenient to not be able to have both queries available at the same time.)

Thanks.

User avatar
ColeValleyGirl
Megastar
Posts: 4853
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: Keep Query from being overwritten.

Post by ColeValleyGirl » 28 Nov 2019 19:08

Have you tried right-clicking on the icon on the Navigation Bar and selecting Lock Window (Prevent ReUse)?

User avatar
LornaCraig
Megastar
Posts: 2995
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: Keep Query from being overwritten.

Post by LornaCraig » 28 Nov 2019 19:27

As a more permanent solution, use Tools> Preferences> Workspaces and in the first column set Re-use of Open Windows Permitted to No for the Query window and any other windows you choose. (Only the Focus Window and the Records window cannot have multiple instances)
Lorna

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Keep Query from being overwritten.

Post by tatewise » 28 Nov 2019 19:56

Double-click on the error entries in the Show Project Statistics exceptions Result Set just like you would in a Query and that will open the Property Box with the problem item selected.
i.e. It did tell you exactly which records were at fault in the left-hand column.

The Show Project Statistics Plugin Help & Advice says exactly that on the Result Set button:
See plugins:help:show_project_statistics:result_set_exceptions|> Show Project Statistics ~ Result Set Exceptions Report.
There are Help buttons all over FH and the Plugins to try and advise about such methods.

The locking technique will also work, but is not needed in this case.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
KennethEvans
Diamond
Posts: 52
Joined: 18 Nov 2019 15:17
Family Historian: V6.2

Re: Keep Query from being overwritten.

Post by KennethEvans » 28 Nov 2019 20:51

Helen, Lorna, Mike,

Those suggestions all worked. Thanks so much.

What I really needed in this case was to double-click the first column in the statistics search. (Seems to be the same as the magnifying glass icon in the toolbar.) Somehow I had it in mind that only worked for Individual Records as in the Individual Records box. Guess it works for facts, too. I'm still learning. 8-)

Makes it a lot easier to use the Progress Statistics. BTW Show Project Statistics is the most useful plugin I've tried. Thanks for doing it.

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Keep Query from being overwritten.

Post by tatewise » 28 Nov 2019 20:58

Ken, there are many, many items all over FH that when (double-)clicked open an associated item.
It is not limited to Individual records and Facts, but includes all record types and all fields.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
Coolgarra
Platinum
Posts: 42
Joined: 06 Oct 2015 06:50
Family Historian: V7
Location: Rockhampton, Australia
Contact:

Re: Keep Query from being overwritten.

Post by Coolgarra » 28 Nov 2019 21:45

Thanks for this thread. I have learnt at least 2 new things for the day.

I'm not sure that I had ever run the Plugin before (although I have it installed), and if I did I had no idea of the potential of being able to double-click or right-click and locate from the 'Result Set' in Query. I was also previously unaware of the 'Lock the Window'.

I agree that it is very useful for picking up data errors but I think it's going to take me a while to go through them, I seem to have nearly 2500! :lol:

User avatar
KennethEvans
Diamond
Posts: 52
Joined: 18 Nov 2019 15:17
Family Historian: V6.2

Re: Keep Query from being overwritten.

Post by KennethEvans » 28 Nov 2019 23:05

I had a lot, too. Most of them were things like no date for marriages, etc. You can uncheck these in options and get to the real ones.

I had one mother died before child was born exception. The mother's death was day-month-year while the birth was ony a year (the same year) so it is not really an error, but it's nice to have it picked up.

In the end I only made one change. The others, except one I already knew about, are not errors but lack of data. It's very impressive what it covers.

I do have one question? What is the criterion for older than expected marriage age?

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Keep Query from being overwritten.

Post by tatewise » 29 Nov 2019 00:15

What is the criterion for older than expected marriage age?

Those types of criteria are related to the Tools > Preferences > Estimates that you can adjust to suit yourself.

In FH use the Help > Search Help for GetDataWarning to obtain a fuller explanation.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
KennethEvans
Diamond
Posts: 52
Joined: 18 Nov 2019 15:17
Family Historian: V6.2

Re: Keep Query from being overwritten.

Post by KennethEvans » 29 Nov 2019 01:36

Not where I would have looked. I did Google and did search Help.

I haven't changed the defaults. They seem to be 50, and the exceptions I got are for marriage at ages more than 50.

So I learned something else and am impressed again it found them. 8-)

Thanks.

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Keep Query from being overwritten.

Post by tatewise » 29 Nov 2019 10:32

Apparently you did not look at the Show Project Statistics Plugin Help & Advice on the Result Set button:
See plugins:help:show_project_statistics:result_set_exceptions|> Show Project Statistics ~ Result Set Exceptions Report.
There it says: "Some Fact Date data warnings are governed by the Tools > Preferences > Estimates settings."

I spend a significant amount of time writing Help & Advice for my Plugins, but all too often it seems not to be consulted, but of course I do not hear from users who did find their answers there, so I get a biassed impression.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
KennethEvans
Diamond
Posts: 52
Joined: 18 Nov 2019 15:17
Family Historian: V6.2

Re: Keep Query from being overwritten.

Post by KennethEvans » 29 Nov 2019 16:31

Mike,

I did look at Help & Advice and think it is good you provide that.

After doing it again, I see you get a different help, depending on which tab you are on. This is non-intuitive since the buttons appear to be global buttons which you would think would be independent of the tab chosen. I only did Help & Advice once.

Having gone back, I still cannot find
"Some Fact Date data warnings are governed by the Tools > Preferences > Estimates settings."
I am not sure what is the "Result Set button".

Nevertheless, it's a very impressive plugin.

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Keep Query from being overwritten.

Post by tatewise » 29 Nov 2019 16:36

With the Help & Advice window open there is a row of green buttons across the bottom for various topics.
Result Set is one of those and the others are related to the Plugin tabs , etc.
Most Help buttons are context sensitive and tell you about the dialogue you have open.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
KennethEvans
Diamond
Posts: 52
Joined: 18 Nov 2019 15:17
Family Historian: V6.2

Re: Keep Query from being overwritten.

Post by KennethEvans » 29 Nov 2019 18:22

I absolutely missed that. I only saw the Close Window button. Even when I was looking for it.

I see the Help is really extensive. I wasn't expecting that for a plugin. As I said before, following links doesn't work well for me. I'm much better at skimming a single page.

However, if I have trouble again, I will peruse the Help, now that I understand how it works.

Post Reply