Book a Demo

Author Topic: Creating Search Queries that Prompt User  (Read 3250 times)

jthillmn

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Creating Search Queries that Prompt User
« on: August 31, 2013, 02:43:28 am »
I need to create a series of searches that, when run, would prompt the user for the appropriate search criteria.

I have seen samples of SQL queries that include references to <Search Term>, expecting that when the query is run it would prompt the user for the value(s) to be provided for the <Search Term> strings.  That doesn't happen.

Is <Search Term> little more than a placeholder for someone to go in and physically replace that text with the search value they are looking for, or is there some nicer way of providing changing search parameters to a query; either for those using Search Builder or SQL?

Thanks...Jim

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Creating Search Queries that Prompt User
« Reply #1 on: August 31, 2013, 06:12:12 am »
<Search Term> is replaced by what the user supplies in the Search field when you enter Ctrl-F.

q.

jthillmn

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Creating Search Queries that Prompt User
« Reply #2 on: September 06, 2013, 04:35:34 am »
Thanks!

Grahame

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Creating Search Queries that Prompt User
« Reply #3 on: September 07, 2013, 12:27:28 am »
Does anyone know if you can do something similar with RTF reports?

I have a report that calls a number of template Fragments, which each contain SQL queries. Ideally I'd like to be able to pass a parameter from the main report into the fragments, to use in the WHERE clause of my SQL query. Is this possible within EA?