How do you select only the references without an attachment?

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
mtauton
Posts: 32
Joined: Tue Apr 05, 2005 7:23 pm

How do you select only the references without an attachment?

Post by mtauton »

I would like to select all the references without attachments and check for the pdf's online for downloading.

Also is there a way to determine how many of your references have an attached pdf?
Jon
Site Admin
Posts: 10074
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Post by Jon »

This is from the User Guide:

Show all references with or without attachments

In the List View, you can do an SQL Search or make a smart SQL/REGEX group that shows all references that do or do not have attachments. The syntax is:

Show references with attachments:

varCharField REGEX '[a-z]'

Show references without attachments:

NOT varCharField REGEX '[a-z]'

To find a specific attachment, this search will work:

Locate('my attachment name', varCharField) > 0
rmelamed
Posts: 18
Joined: Sat Jun 03, 2006 8:42 pm
Location: Colorad Springs CO
Contact:

Post by rmelamed »

How do you undo the SQL query that selects files with or without attachments sothat you get all files?
Thanks, bob
Jon
Site Admin
Posts: 10074
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Post by Jon »

Sorry, I don't understand. What exactly do you want the query to return?

Jon
Sonny Software
rmelamed
Posts: 18
Joined: Sat Jun 03, 2006 8:42 pm
Location: Colorad Springs CO
Contact:

SQL

Post by rmelamed »

Once again pardon my ignorance. I forgot to select "all" in the list view.
Post Reply