[GNC] Can I find transactions into an account that has only one split?

Adrien Monteleone adrien.monteleone at lusfiber.net
Wed Nov 22 01:35:27 EST 2023


Yeah, that's why I started off with this would be trial and error level 
effort.

The OP wants transactions where at least one split appears in set A, but 
excludes any such transactions when *other splits* also appear in set B.

I *think* this is possible, but I have to admit, I've never tried.

I'm guessing that running two separate Finds, one from the Accounts 
page, and one from the Find results register is the way to go, but I 
could be mistaken.

I'm guessing that trying it all in one go will fall into the trap you 
mention.

But if the result register is somehow 'fixed' to the original splits 
found, this entire endeavor may not be possible.

Regards,
Adrien

On 11/22/23 12:00 AM, Derek Atkins wrote:
> Keep in mind that, GENERALLY, the search is on a SPLIT basis, not a
> TRANSACTION basis.  So if you do a search on "Account == X AND Account ==
> Y" you will get an empty set, because it is impossible to find anything
> where Split.account == X and Split.account ALSO equals Y.



More information about the gnucash-user mailing list