Mail Merge Query Bug?

+1 vote
123 views
asked Dec 11, 2023 in Support Questions by bismark

When running a mail merge for three accounts (4483, 73085, 77653) in Fundraising the query builder adds: And Members.Code In (Select Code From  Members Where  FieldInSub 1=1 And Code In (4483, 73085, 77653))

This takes several minutes to complete.

If the code is rewritten as:  And Members.Code In (4483, 73085, 77653)

it finishes in a few seconds.

Can this please be changed?

1 Answer

answered Dec 11, 2023 by Admin
There is multiple reasons for the way query is built. It will not always make the fastest query as it has to take in consideration all different places and reports the query is supposed to work.

Query builder is the most complex part of the software in order to make it work for everyone in such an easy way. We do provide the code for the power user and you are welcome to update it manually each time.
commented Dec 12, 2023 by bismark
I don't fully understand. Add list to query uses the method I asked for when it builds the query. As it is right now, it is very hard for us to use the mail merge feature at all. The non-technical people I have who are using the mail merge feature are not terribly comfortable editing sql.
commented Dec 12, 2023 by Admin
Lists we control differently and keep track of the query. We can make a feature for you as a setting, but the issue is when it will not work it will be hard to figure out that this is the reason.

Let's Welcome our New Members

  • ras of Mechinas Ner Naftali - Apr 10, 2024

  • ckeller of MYY - Apr 03, 2024

  • Malka.eisenbach of YTT - Apr 02, 2024

  • eneuberger of JDBYYTT - Apr 01, 2024

  • cmayer of Bais Esther - Apr 01, 2024

  • astauber of JLS - Mar 27, 2024

  • yaakova of Bnos Menachem - Mar 26, 2024

  • GElefant of YGZM - Mar 21, 2024

  • bmiskin of Yeshiva Gedolah Zichron Moshe - Mar 20, 2024

  • cungar of Kollel Chatzos - Mar 18, 2024

...