Skip to Content

@prompt Filter

Hi Team,

I am facing an issue while creating the @prompt filter for Sim Code which has null and values and null show(-) symbol .Please suggest any work around. early response would be Appreciate!!

Please find the below details for your reference.

Filter Values Rule Default SMI Code

Only value to be “ALL”. Free text. User will either select “ALL” or type in the value.

Value expected = 3 character alphanumeric code.

Prompt is to be multi-select

If ALL is selected, then return all records.

If left empty, then records where SMI is NULL will be returned. *( If not feasible, then value of “Blank” to be added to list o values which will return redords where SMI is NULL).

ALL

Many Thanks,

Siva.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 22, 2016 at 09:26 AM

    For creating prompt the easiest way is

    select the option Insert Condition--> where clause >> --> Right click and select the option @New Prompt. Here you get the list parameters that you need for creating the prompt.

    SmiCode=@Prompt('Enter SMi value','A',,Multi,Free,Not_Persistent,{'All'})

    or

    'All' =@Prompt('Enter SMI value','A',,Multi,Free,Not_Persistent,{'All'})

    This will take care of default value All and user selected value.

    For nulls, as you have '-' in place of nulls then user have to give '-' as the input to get the data related to null

    For making user to know that u have to give '-' for getting nulls, give proper prompt text such as "Enter a value or -' some thing like this


    @prompt.PNG (23.5 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.