Another thing to consider is that the search is really searching on a SPLIT and not a TRANSACTION. If you're trying to search for something and using different accounts in your query, you could end up in an empty-set result because you cannot have a split where split->account == A **AND** split->account == B.
-derek On Thu, June 9, 2022 1:02 pm, Adrien Monteleone wrote: > Hmmm... I just happened to need to do a Find and tried this out. > > I intentionally chose an account that I knew was definitely *not* > involved in the transaction I was looking for. (or any other > transactions that would match my criteria) > > Yet, the results were the same if I had this account 'selected' or not. > (which returned results when it shouldn't have, and as expected, none > involved that selected account.) > > Maybe this is a terminology problem concerning 'selected' and 'focus'? > > I'm doing the search from the Accounts Tab being in 'focus'. (that is, > it is the active tab which I am viewing) > > If I 'select' (highlight, but do not open) an account, and do a Find, > this has no effect. (I thought this is what the OP said they did, and > what I thought Liz was referring to) > > If I *open* a particular account (thus now viewing its register which is > now 'in focus' and the Accounts Tab is no longer the active tab) *now* > the search is filtered to that account. > > Which is exactly what I was warning about in my original comment. > > If the OP is not getting results they expect from *other* affected > accounts, either something is off with their criteria, or they are > getting filtered results by doing the search from a particular register > rather than the Accounts Tab. > > Regards, > Adrien > > On 6/9/22 3:46 AM, Adrien Monteleone wrote: >> Interesting, I've never noticed it work that way. >> >> Regards, >> Adrien >> >> On 6/8/22 10:12 PM, Liz Dodd wrote: >>> On Wed, 8 Jun 2022 21:25:54 -0500 >>> Adrien Monteleone <adrien.montele...@lusfiber.net> wrote: >>> >>>> You don't need to 'select' an account before doing a search. (it has >>>> no bearing on the search at all) >>>> >>>> Always conduct searches when viewing the main accounts tab, and if >>>> you want to specify accounts, do that in your search criteria. >>>> >>>> Regards, >>> >>> Having an account "in focus" when starting a search restricts the >>> search to that tab/account. >>> >>> Either a neat trick or a trap for the unwary. > > _______________________________________________ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > ----- > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > -- Derek Atkins 617-623-3745 de...@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.