www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  Content Server    Web query for stored searches
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Posted
Hello

I have a situtation where I would like to create a query screen that allows the user to search a subset of a database. Right now the subset is accessed through a canned query or stored search, but as the list is getting larger, we feel it would be easier for the user to search the contents, rather than scroll through it.

Any suggestions please?
 
Posts: 2 | Location: Toronto | Registered: Fri December 14 2007Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
You could add a new field (eg. name it "Subset"), run your canned query in the desktop and then batch modify the records so that the new field has the same value (eg. "Yes" )

You would then add the field as a hidden field on your query screen to return only those records.

<INPUT NAME="QB10" TYPE="hidden" VALUE="AND">
<INPUT NAME="QF10" TYPE="hidden" VALUE="Subset">
<INPUT NAME="QI10" TYPE="hidden" VALUE="Yes">

Your user could then run searchs within just those records eg. where author is smith and year is 2007 and subset is yes.

We use this to not show items that are In Process

eg.

<INPUT NAME="QB10" TYPE="hidden" VALUE="NOT">
<INPUT NAME="QF10" TYPE="hidden" VALUE="In Progress">
<INPUT NAME="QI10" TYPE="hidden" VALUE="Yes">

This message has been edited. Last edited by: JennM,
 
Posts: 153 | Registered: Tue June 08 2004Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
You could use Record Level Security on a Silent Password to hide all the records except those in your subset.

It's essentially the same setup: you batch modify the Access Control field for the records in the subset to contain the class that permits user with the Silent Password to see the record.

But you don't need to modify your query screen, and See Also search links will also exclude records not in your subset.
 
Posts: 217 | Registered: Wed June 29 2005Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Many thanks for both suggestions. I have taken a few steps towards trying one - addign the Subset field , and designating it a hidden field, but that has lead me to another question.

How to include the instructions JennM mentioned in her posting - namely the following:

<INPUT NAME="QB10" TYPE="hidden" VALUE="AND">
<INPUT NAME="QF10" TYPE="hidden" VALUE="Subset">
<INPUT NAME="QI10" TYPE="hidden" VALUE="Yes">

I think I am missing a few steps in trying to implement this, as all attempts so far have not worked.
 
Posts: 2 | Location: Toronto | Registered: Fri December 14 2007Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
After you use Export Query Screen to HTML in the Query Screen Designer, you would open the HTML file in Notepad, or another text editor, and add the lines shown immediately under the last set of QBxx/QFxx/QIxx tags.
 
Posts: 217 | Registered: Wed June 29 2005Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
And the number after the QB/QF/QI tags will depend on the number of fields you are searching. When you open the query screen in notepad you will see the highest number for the last field you included in your search. Just make sure your number is higher than that last number. It cannot be the same.

In my example I gave it as QB10, QF10 and QI10.
 
Posts: 153 | Registered: Tue June 08 2004Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  Content Server    Web query for stored searches