Page 1 of 1

Sort by attachments

Posted: Mon Jul 27, 2015 2:23 pm
by Deckerd
Sorry if this is a silly question,

Is there a way to sort entries by the number of paper clips shown in, what I believe is, the "Author" field? This sort would hopefully simply separate those references with one paper clip shown versus those references with two paper clips shown.

I need to go through and delete attachments manually because my database is a mess. I have no idea how to make this more automated (I've already used the remove duplicate function. I used strict criteria first, and then moved to less and less). In any case, there are still attachments that I need to delete.

Thanks for the help,

Tim

Re: Sort by attachments

Posted: Mon Jul 27, 2015 4:25 pm
by Jon
You can create a smart SQL group (or just do an SQL search) for this

varCharField REGEX '[\n\r]'

That should find references with more than one attachment.

Jon
Sonny Software

Re: Sort by attachments

Posted: Mon Jul 27, 2015 7:25 pm
by Deckerd
Thank you! Still trying to figure out how to do SQL searches using documentation online.

Re: Sort by attachments

Posted: Mon Jul 27, 2015 9:58 pm
by Jon
Use the User Guide (Help menu). There's lots of info about SQL searches in the PDF that you have on the HD, with many examples.

Jon
Sonny Software