Skip to Content
avatar image
Former Member

Catching filter value in web application designer

Hi,

I have to capture the value that user selects in the filter for that i have a web template and a information field in that and make appropriate settings to do that and got the output as desired but problem is that i want to display 'ALL' is user input's nothing in the filter. for e.g

var_customer a variable to take customer id as input, if user entere's 1001 then i am able to display that value in my template but if he doesn't enter any value then i need to display 'ALL'.

Any guidence to acheive this .....

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 17, 2007 at 06:53 AM

    This can be well managed at query level. You must be using a user input variable. When this variable is blank the query will generally display all the values as you said. Just chekc if there is any exit associate with that variable or any further filtering at column and row levels.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      any help please..can anybody please tell me how to refer to a information field in javascript...

      for e.g if my information field item name is 'TEXT_ELE_1', then how can i access it and its value to compare against blank....

      Its urgent.

  • avatar image
    Former Member
    Aug 17, 2007 at 11:23 AM

    Dipika,

    Well, what exactly you mean by 'ALL". Your succeeding posts are a bit confusing. If the user doesn't enter anything in the input screen, then it should display all the values. By no way it can stop without showing all the values. If what I understood is wrong pls detail me properly.....

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Venkat My 'ALL' means that i have created a web template in that template im displaying the filter values whatever user selects.

      Say for an e.g if i have contract no. in my selection screen then if user selects 1001, in my template i will display this information with the help of 'information field' web item as

      'Contract no. 1001 '

      but if user doesnot enters any contract no. all data will apear that has to be and in that case my header should represent

      'Contract no. ALL'

      .......i hope its clear now. Is there any solution to achieve this i mean to enforce this 'ALL' .

  • avatar image
    Former Member
    Oct 18, 2007 at 04:22 AM

    Thanks to all !!

    Add comment
    10|10000 characters needed characters exceeded