You are viewing limited content. For full access, please sign in.

Question

Question

Search for any document of a specific template within folders of a specific naming convention

asked on July 10, 2014

I have a folder called "Receipts".  When receipts go into this folder, they are supposed to file under a date subfolder structure (i.e. rec 2014).  Unfortunately, there was a problem where a lot of folders were created with people's names instead (i.e rec Smith, Bob).  I am trying to format a search that will return any document that lies in a folder called "rec [some name]" but leave out documents that are in folders called "rec [some year]".  Here is the search I put together:

 

{[Receipt]} & {LF:LOOKIN="Main\Credit Union Daily Work\Receipts\rec [A-Z]*"}

 

The search doesn't error out, but it doesn't return any results.  What am I missing?

 

0 0

Answer

SELECTED ANSWER
replied on July 10, 2014

I think I found the answer to my own question in another post about using wildcards to find documents that contain something specific in the path.  In addition to using the "LF:LOOKIN" option to specify the Receipts folder, I used the "LF:ParentName" option and came up with this query:

 

{[Receipt]} & {LF:LOOKIN="Main\Credit Union Daily Work\Receipts"} & {LF:ParentName="*rec [A-Z]*"}

 

Worked like a charm.  Hope this helps anyone else in a similar situation.

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.