jethro-pmm icon indicating copy to clipboard operation
jethro-pmm copied to clipboard

Headings within mail merge

Open tbar0970 opened this issue 1 year ago • 1 comments

When doing a mail merge for nametags, it's handy to have headings "A", "B" etc so people can find their nametag quickly.

It would be nice to have a checkbox in Jethro: "[x] add alphabetical headings"

(But the difficulty would be for Jethro to know what the list is sorted by. Could the report pass this on to the mail merge call? What about when the merge is not from a report?)

tbar0970 avatar May 18 '23 05:05 tbar0970

One way would be to insert 'dummy' names. Another would be to extend the feature I added in my last set of updates where it creates multiple tables. Currently it is based on status codes. So if you have status codes 'Current', 'Member' and 'Contact' for instance then instead of using say [person.first_name;block=tbs:row] [person.last_name] you can break it into three groups Members [Member.first_name;block=tbs:row] [Member.last_name] Current [Current.first_name;block=tbs:row] [Current.last_name] etc. The extension would be to allow the user to nominate a field and optionally (for this case) a substring of that field as the 'extra' table names. BTW I am working on creating an online version of what I am currently running so you can see how my changes work (That's why I was trying to import your demo data).

tim-pearce avatar May 23 '23 02:05 tim-pearce