Pre-query set_block_property Default Where

I need some information regarding
SET_BLOCK_PROPERTY , DEFAULT_WHERE
How it works
I am using this code
SET_BLOCK_PROPERTY('bank_recon',
     DEFAULT_WHERE, 'v_bankcode= ''' || :button.bankcode     || ''' and ' || 'v_chq= ''' || :button.chq_no ||
       '''');   but when I add one another condition not work
SET_BLOCK_PROPERTY('bank_recon',
     DEFAULT_WHERE, 'v_bankcode= ''' || :button.bankcode     || ''' and ' || 'v_chq= ''' || :button.chq_no ||
                                                                                                                                             ''' and ' || 'recon is null'||
       '''');   Please guide me and inform me how it is work... how to use its *' '*

try
DECLARE
    v_sql VARCHAR2(300);
BEGIN
    v_sql := 'v_bankcode= ' || '''' || :button.bankcode || '''' || ' and v_chq= '  || :button.chq_no || ' and recon is null';
    SET_BLOCK_PROPERTY('bank_recon', DEFAULT_WHERE, v_sql);
END;if you have doubt about the syntax, you can check it by showing a message like
message('sql=' ||  v_sql);PAUSE;

Similar Messages

  • Does the 'default where clause' query select the ROWID by default ?

    Hi ,
    The query in default where property of a data block is as follows:
    global.prim_lang = :global.user_lang
    and upper(group_name) like upper('%' || :B_apply_inclusions.TI_group_desc || '%')
    UNION ALL
    select g.rowid, g.group_no
    from table1 t,
    table 2 g
    where :global.prim_lang != :global.user_lang
    and upper(g.group_name) = t.key(+)
    and :global.user_lang = t.lang(+)
    and upper(nvl(t.translated_value, g.group_name)) like upper('%' || :B_apply_inclusions.TI_group_desc || '%')
    The g.rowid was added in the UNIONALL portion of the query because the first part of the query was bringing rowid as well.
    We are in 10.1.2.3.0 forms version.
    However for a user in forms verion 10.1.2.0.2, the query is giving an error " Unable to perform query " - due to mismatch in the number of columns selected in the query union.
    because for this user, rowid is not selected as part of default where clause query( 1st part of the query before the unionalll).
    If g.rowid is removed from the 2nd part of the query , it errors out in 10.1.2.3.0 forms version.
    Could you kindly clarify when this rowid will also be selected by the default where clause of a block and why this issue is occuring?Is this issue related to forms version or any other property of the block? Is it is version based, is there a patch available to deal with the same?
    Thanks in Advance.

    You normally change the default_where block property just when you want to chnage the filter conditions for what is selected from a given block data source.
    Querries with union or minus will confuse forms as to the rowid and will no longer be albe to perform the default insert/update/delete, not knowing the rowid and the table to perform the dml on.
    A from clause query will be the best way to change dynamically the tables you select from and also the where. But, by using that, if you wish to insert/update/delete, you will have to use on-insert/update/delete triggers where the processing will have to rely on some primary key columns and not on rowid.
    Or, instead of a from-clause, you may use a view, but that will definitely be less flexible than a from clause query.

  • Function Within a default where clause on a block

    Hi
    Within a forms 6 form I have a data base block I wish to amend the where clause depending on cetain search criteria. To do this I have created a database function to include in the where clause which if I execute using PL/SQL Develops returns the required results, however if I use a set_block_property default where and try to use the function if seems to be ignored and returns all rows not just the ones matching the function value, is there a resrtiction in the default where?
    Any help would be great
    Thanks
    Tina

    Make sure that you are not putting the "and" at the beginning of the query unnecssarily.
    If "lv_def_where" is null then you would not begin your query with "and"
    IF :control.t_primary_whs IS NOT NULL THEN
    . IF lv_def_where IS NULL
    . THEN
    . lv_def_where := lv_def_where ||'sce.find_primary_warehouse ('''||:customers_address.owner_code||''','''||:customers_address.owner_sub_code||''' ,'''||:customers_address.post_code||''',''CP'')= '''||:control.t_primary_whs||'''';
    . ELSE
    . lv_def_where := lv_def_where ||' and sce.find_primary_warehouse('''||:customers_address.owner_code||''','''||:customers_address.owner_sub_code||''' ,'''||:customers_address.post_code||''',''CP'')= '''||:control.t_primary_whs||'''';
    . END IF;
    END IF;
    Is that the case?

  • Pre query , post query where date = mon-yyyy

    I have a tabular block B2 with many records
    this block items are vouhcerno, voucherdate. voucherno number(6) and voucherdate date.
    when new form instance i execute query it shows me all the records working fine.
    I add one list item here when new form instance this list item got record like
    Jan-2009
    Feb-2009
    Mar-2009
    so on...
    I want that when i select Jan-2009 from list item and press button
    block B2 only show my January 2009 records.
    I tried to this in pre query and also post query trigger but not successful.
    Kindly guide me .

    Arun really tnx, you are helping me.
    I m sorry Your this code also not working.
    i want to add one more condition in this code
    SET_BLOCK_PROPERTY('b2',DEFAULT_WHERE, 'to_char(voucherdate,''fmmon-fmYyyy'')= ''' || Lower(:vdate ) || ''''  );
    And :vtype = "PV'
    {code}
    I m using this
    {code}
    SET_BLOCK_PROPERTY('b2',DEFAULT_WHERE, 'to_char(voucherdate,''fmmon-fmYyyy'')= ''' || Lower(:vdate ) || 'and :B2.vtype = PV'|| ''''  );
    {code}
    but Not return query.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Pre-query trigger firing twice

    I have a pre-query trigger on a block in a form to set the "default where" as
    SET_BLOCK_PROPERTY (BLOCK_ID, default_where,where_clause);
    but when I look at the current query for the session the where clause looks like
    WHERE screening_group_num = :1 AND (screening_group_num = :2)
    Why is this firing twice?
    I checked this thread : Re: pre-query firing twice but I dont have any calls to execute_query in the form.

    I am setting the where_clause in the pre_query trigger for that block.
    and the copy value is not set for the screening_group_num item or for that matter any other item in the block. For all other items, it dosent really matter if the comparison is done twice (as the values will be same) , but when I have text (string) items, then its a problem. For example:
    Where
    (event_description LIKE '%test%') --- this is from the pre_query trigger where I am doing a string_comparison using 'Like and %%'
    AND (event_description = :1) --i suppose this is from the default where clause of the block                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Query mode & default values

    Hi,
    When a block is put into QUERY MODE all the
    fields in it are blanked.
    I am looking for a way to put in default
    values in some of my fields when in
    query mode.
    Is this possible.
    Any help is appreciated.
    Regards,
    Klas Malmstrom
    [email protected]

    You could try the When-New-Record-Instance trigger for the block and assign values to items when the :SYSTEM.MODE = 'ENTER-QUERY'. Users may be able to change these default values.
    To have hidden default values use the default where property of the block and either set on the property sheet or dynamically in the PRE-QUERY trigger; or assign values to database items in the PRE-QUERY trigger.

  • Pre-Query - Modifying the default_where

    Hi,
    I'm trying to get the value of the default_where clause to modify it (with set_block_property) after the user has entered the ENTER QUERY MODE and decides to RUN QUERY. I'm creating a Pre-Query event for the module component where the search criteria are entered, but it doesn't seem to work; the where_clause (l_old_where) I retrieve is always empty. My code to retrieve the default_where is:
    BEGIN
    DECLARE
    l_block VARCHAR2(32) := name_in('system.trigger_block');
    l_old_where VARCHAR2(2000);
    BEGIN
    l_old_where := get_block_property(l_block, default_where);
    message('l_old_where =' || l_old_where); --unfortunately this message always returns an empty value
    EXCEPTION
    WHEN VALUE_ERROR THEN
    qms$forms_errors.push(QMS$FORMS_ERRORS.MSGGETTEXT(33, 'Query criteria too complex - simplify and re-query'), 'E', 'OFG', 33);
    qms$forms_errors.raise_failure;
    END;
    END;
    Does anybody know what I am doing wrong? Do you have a better way to retrieve the default_where value?
    Thanks,
    Denis.

    Denis,
    The DEFAULT_WHERE is part of all queries. It is set either in the property palette at design time, or programatically at runtime. If a user does an enter query and specifies some criteria, that criteria is appended to the DEFAULT_WHERE. Thus, interrogating the DEFAULT_WHERE won't help you in this case.
    There is no "nice" way to do this. You have about three triggers you can choose from, that get fired after the users has entered their criteria, but before the query is executed. One is PRE-QUERY, and I forget the other two. One of them is SET-QUERY or something like that.
    What you do is interrogate the fields themselves. For example, if you have two fields: NAME and SALARY, and the user entered the criteria "A%" and ">5000", then it's up to you to examine those fields to see what the user typed. Then you can do with them what you will.
    So you don't get the SQL that Forms generates, but you do get the same info that Forms uses to generate the SQL.
    There is also a gotcha to look out for. When referring to fields in a block that are active during enter-query mode, use the NAME_IN builtin. For example, the SALARY field is of type number, but the criteria is ">5000". That ">" is not acceptable (normally) to a NUMBER field, so you will get errors if you do something like "message('Salary criteria: '||:block.salary);"
    I hope this helps.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Pre-query trigger issue

    Hi,
    I have a datablock in the form that is based on a DB table. There are few queriable fields in the block including begin and end dates. If i dont use any pre-query trigger, the records are queried fine. But I want to do a range selection between begin and end_Date fields. Therefore I created a pre-query trigger and set a new_where_clause with all my query_fields and set that as defualt where for my DB block.
    SET_BLOCK_PROPERTY (block_id,default_where, where_clause);
    But when I see the query in toad session , the query looks like
    WHERE (field_1 = :1) and field_1 = :1
    that means its running the defualt where clause on the block and the new_where clause at the same time.
    I checked the form and I dont have any calls to execute query....
    what can be the problem?

    1. What is your new_where_clause? (example, please)It's hard to read. Use the \{code\} tag.
    FUNCTION get_comparison_phrase (database_column_name       VARCHAR2,
                                                             relational_operator       VARCHAR2,
                                                             selection_field_name       VARCHAR2)
              RETURN VARCHAR2 IS
         BEGIN
              RETURN CASE
                              WHEN NAME_IN (selection_field_name) IS NOT NULL THEN
                                        ' AND '
                                   || database_column_name
                                   || relational_operator
                                   || ' :'
                                   || selection_field_name
                              ELSE
                                   NULL
                         END;
         END get_comparison_phrase;
    where_clause := 'WHERE (1=1)';
    if NAME_IN (selection_field_name) IS NOT NULL THEN       ' AND '
                                   || database_column_name
                                   || relational_operator
                                   || ' :'
                                   || selection_field_name
                              ELSE
                                   NULL
                         END;
    where_clause :=
         where_clause
              || get_comparison_phrase (
                        'screening_group_num',
                        '=',
                        'EXCEPTIONAL_EVENTS.screening_group_num'
    WHERE (field_1 = :1) and field_1 = :1I do not see 'WHERE (1=1)'; there.
    Edited by: Michael Roy on Oct 21, 2009 9:47 AM

  • Pre-Query Trigger

    In one of our form ( we generated this from Oracle Designer), we put the Pre-Query trigger to the first block of the form, where we override the default_where so that it includes something liek this
    INSTR (cpb_order_title, 'housing', 1, 1) > 0   AND INSTR (cpb_order_title, 'review', 1, 1 )> 0
    But when during execution, we found that alongwith the above filter, it also appends the regular default_where to the above condition. Something like this
    INSTR (cpb_order_title, 'housing', 1, 1) > 0 AND INSTR (cpb_order_title, 'review', 1, 1 )> 0
    AND (    UPPER (cpb.cpb_order_title) LIKE :1
    AND (cpb.cpb_order_title LIKE :2 OR cpb.cpb_order_title LIKE :3)
    Could not find how it is adding the default condition. Any help would be very much appreciated.
    Thanks
    Deb

    Debra,
    So, this is the default WHERE clause on the block?
    AND ( UPPER (cpb.cpb_order_title) LIKE :1AND (cpb.cpb_order_title LIKE :2 OR cpb.cpb_order_title LIKE :3)>
    I don't see anything in your code that would cause the new where clause to be appended to the original where clause, unless you have code somewhere else that automatically sets the default where clause programatically.
    The fact that your code sample sets the block where clause to an empty string ( '' ) if the order_title is NULL makes me wonder why you have a DEFAULT_WHERE defined in the first place. Not to mention the fact that the first thing your Pre-Query trigger does is set the DEFAULT_WHERE to an empty string as well. My first suggestion is to simply eliminate the WHERE property default value.
    What is the output of your call to "MESSAGE_POPUP?" Is the original WHERE clause listed in the resulting Alert? Have you displayed the contents of the vQuery variable before the DEFAULT_WHERE assignment and if so what it the output?
    Craig...

  • Join with another table in pre-query

    Hi,
    We have a large data block and we need to order some columns based on street name for example, not id. The base table of db block contains an id_street column, and 'streets' table contains id and name.
    Ok, in pre-query trigger of that block, we have a complex logic and we dynamically build the where clause. At the end, we set the order_By clause of the block, to order the rows, for example we need to order by the 'my_date' column asc (it's a date type column), and street desc; but street NAME, not id. We don't want to use a from clause query, because the dynamically where clause logic it's complex.
    How can we join the db block table with 'streets' table in pre-query, so when constructing the order by clause to specify something like
    set_block_property('ADRESE_NEZONATE', order_by, 'my_date, name desc');where 'name' is the name of the street, from the 'streets' table.
    Is it possible in pre-query, somehow? Or, in my case where can I join with that table and use that column in pre-query at setting order by?
    Thanks!
    Edited by: Roger25 on 26.04.2013 12:31

    I understand what you say but partially.. please explain in more detail how to do that;
    How should look the adrese_nezonate block, then? I have to add a 'name' column and set copy value from item property to 'STREETS.NAME', and database_property No?
    Then the post-query trigger how should look like (the order by clause)? The post-query sends the entire query (with where/order by clauses) to the server, but in that "select... where... order by" (built dynamically) there are only columns from that block (adrese_nezonate). I need to join with streets, INSIDE that query.
    Thanks.

  • Dashboard Prompt - Getting error for Adding SQL query in "Default to"

    Hello Oracle,
    I am facing some problem in Dashboard Prompt. Like when i add some sql query in "Default to" in Dashboard prompt and for the next prompt when i check for Contrain option i get error in the second prompt. but it works fine when i hard-code a value in "Default to" options.
    For Example:
    Like when we consider a two prompts :
    1) Year -> (In Default to i select SQL Query and enter the query as SELECT "YTD Dim"."Fiscal Year" FROM "YTD Report" WHERE "YTD Dim"."Fiscal Year" = Year(Current_Date)
    2) Business Unit -> (In specific value i give as some hard code value of Business Unit and check the contrain option)
    i get error as
    Business Unit
    Error Generating Drop Down Values
    A numeric value was expected (received "SELECT "YTD Dim"."Fiscal Year" FROM "YTD Report" WHERE "YTD Dim"."Fiscal Year" = Year(Current_Date)"). Error Details
    Error Codes: EHWH2A7E
    but i get correct value for Year as 2011.
    I need to use SQL query in default to option and need to check the constrain option too.
    Looking for positive feedback.

    You need to create a dashboard prompt and in Default To -> select SQL Results
    Click on the ... (three dots ) underneath it and put in your sql
    For Example , I have a Table called "Sales Date" in my "ABC" presentation folder. This has a column called "Year" and "Date". If I want to have a Year prompt with the default value set to current year, here is what the syntax of my sql result will be :-
    SELECT "ABC"."Sales Date".YEAR
    FROM "ABC"
    WHERE "Date" = current_date
    In SQL, we cannot put SQL as we know of in terms of Oracle, Sql Server etc. The SQL here refers to sql as OBIEE understands it and should be in the form of Select "Presentation foler"."Table Name".ColumnName from "Presentation Folder"
    Hope this helps

  • Default where with order by clause

    Hi all
    How to use Default where with order by clause
    for example i want to use Default_where clause with order by clause
    Regards
    Shahzaib ismail

    Hi,
    I have a similar query for where clause.
    my query-find form is a multi record form like below:
    Criteria - Condition - Value
    Item/Category/Planner (List_Item) - Equals/Among (List_Item) - text_FIELD
    Item - Equals - ITEM_1
    Category - Among - ('CAT1', 'CAT2')
    Planner - Equals - PL1
    Find_BUTTON Clear_BUTTON
    User can select any criteria and condition combination and then enter the value in "Value" text field.
    My query is: how can I prepare a where clause based on user input since the user can enter any number of values/combinations? I guess I would have to use some looping to generate where clause.
    Thanks
    Imran

  • Building Query in Pre-Query. How to make it more Memory Efficient

    Hello all,
    I have a form with 2 Data Blocks.
    First Block is used for giving query Parameters and second one returns the results based on a View.
    I build the Select Clause in the pre-query based on the Parameters. So every time I have a Different Query.
    Could that create problem in the Database Server due to parsing queries again and again?
    Would using a Different approach (i.e. ref Cursors) be more memory Efficient?
    Thanks

    The pre-query is quite Large so I am pasting only a part of the Code (the rest of it Is Identical).
    In the selects v is the alias of the View of the Second Data Block.
    The :qf_ bind variables are fields of the First block where I give the Parameters.
                   IF :QF_IS_DISPLAYED=1 THEN
                   L_WHERE := L_WHERE || ' AND V.IS_DISPLAYED =''1''';
                   END IF;
                   IF :qf_colour IS NOT NULL THEN
                   L_WHERE := L_WHERE || ' AND item_colour=''' ||:qf_colour ||'''';
                   END IF;
         IF :qf_product_item_colour IS NOT NULL THEN
                   L_WHERE := L_WHERE || ' AND product_item_colour=''' ||:qf_product_item_colour ||'''';
         END IF;
         IF :qf_product_length IS NOT NULL THEN
                   L_WHERE := L_WHERE || ' AND product_length=''' ||:qf_product_length ||'''';
         END IF;
                   IF :qf_apf_batch_id IS NOT NULL THEN
                   L_WHERE := L_WHERE || ' AND apf_batch_id=' ||:qf_apf_batch_id;
                   END IF;
                        if :qf_prod_resource is not null then
                        L_WHERE := L_WHERE ||' AND v.resources = ''' ||:qf_prod_resource ||'''';
                        end if;
                        if :qf_customer_number is not null then
                        L_WHERE := L_WHERE || ' AND FACTORY_ORDER_ID IN (SELECT FA.FACTORY_ORDER_ID
                                                                                                                                                     FROM OE_ORDER_HEADERS_ALL OH,
                                                                                                                                                                    RA_CUSTOMERS RA,
                                                                                                                                                                    XXSC_DEMAND_LINES DL,
                                                                                                                                                                    XXSC_FACTORY_ORDERS FA
                                                                                                                                                     WHERE      OH.SOLD_TO_ORG_ID = RA.CUSTOMER_ID
                                                                                                                                                     AND      DL.SOURCE_HEADER_ID = OH.HEADER_ID
                                                                                                                                                     AND          DL.FACTORY_ORDER_ID = FA.FACTORY_ORDER_ID
                                                                                                                                                     AND               RA.CUSTOMER_NUMBER = ''' ||:qf_customer_number ||''')';
                        end if;

  • PRE-QUERY not firing

    I have a Form that has 4 cascading List Item after you make a chose on the Bpost_Tag (4th) you press the Button Execute Query. On the Data Block I have PRE-QUERY as shown below! What I’m trying to get in return is if you chose Bpost_Tag 100 you will get all Bpost_Tags 100 and greater on the Form. Right now all I’m getting in return is one Bpost_Tag of 100.
    Data Block
    PRE-QUERY
    DECLARE
                   wh_clause VARCHAR2(200);
    BEGIN
                   IF :PMISCURR.SYSTEM is not null then
                   wh_clause := 'SYSTEM = '||:PMISCURR.SYSTEM;
              END IF;
                   IF :PMISCURR.COUNTY is not null then
                   wh_clause := wh_clause ||' AND COUNTY = '||:PMISCURR.COUNTY;
              END IF;
                   IF :PMISCURR.ROUTE is not null then
                   wh_clause := wh_clause ||' AND ROUTE = '||:PMISCURR.ROUTE;
              END IF;
                   IF :PMISCURR.BPOST_TAG is not null then
                   wh_clause := wh_clause ||' AND BPOST_TAG >= '||''''||:PMISCURR.BPOST_TAG ||'''';
              END IF;
              Set_Block_Property ('PMISCURR', DEFAULT_WHERE, wh_clause);
    END;
    The Go_Block ('PMISCURR'); is on the Execute Query Button.
    Edited by: Monty on May 13, 2011 12:06 PM

    Andreas
    Based on the same Table!*
    DATA BLOCKS:
    PMISCURR
    ..........SYSTEM
    ..........ROUTE
    ..........COUNTY
    ..........BPOST_TAG
    PMISCURR1
    ..........SYSTEM_1
    ..........ROUTE_1
    ..........COUNTY_1
    ..........BPOST_TAG_1
    I moved the PRE-QUERY as is to PMISCURR1 still got all the values from the Database Table/PMISCURR_BPOST_TAG. I changed the SQL to point to PMISCURR1 and got the same results. I’m just having hard understanding what is wrong. I have asked several coworkers to take a look at it and all they say is it should work my guess is they don’t know either!
    Changed POST-QUERY on PMISCURR!
    DECLARE
    wh_clause VARCHAR2(200);
    BEGIN
    IF :PMISCURR1.SYSTEM_1 is not null then
         wh_clause := 'SYSTEM_1 = '||:PMISCURR1.SYSTEM_1;
    END IF;
    IF :PMISCURR1.COUNTY_1 is not null then
         wh_clause := wh_clause ||' AND COUNTY_1 = '||:PMISCURR1.COUNTY_1;
    END IF;
    IF :PMISCURR1.ROUTE_1 is not null then
         wh_clause := wh_clause ||' AND ROUTE_1 = '||:PMISCURR1.ROUTE_1;
    END IF;
    IF :PMISCURR1.BPOST_TAG_1 is not null then
         wh_clause := wh_clause ||' AND BPOST_TAG_1 >= '||''''||:PMISCURR1.BPOST_TAG_1 ||'''';
    END IF;
    Set_Block_Property ('PMISCURR1', DEFAULT_WHERE, wh_clause);
    END;
    Monty

  • Pre-Query + Webtemplate + Sender/Receiver assignment

    Hi,
    I have a problem with the Variables screen of my query. The situation is as follows:
    - I have Query (let's call it Q1) with a "Replacement Path" variable (V1).
    - The pre-query associated to V1 has 3 variables (va1, va2, va3)
    - I also have a Web template (W1) that is used to display query Q1.
    - In W1, the checkbox for attribute "Force Variables Screen Display" is not checked. That is, I want that the variables screen doesn't come up by default. According to the attribute description, if the checkbox is not checked, "...Display only appears if Mandatory variables are not Filled...", and I don't have any mandatory variables.
    - I use a Sender/Receiver assignment (Tr. RSBBS) to jump from another query (Q2) into W1, assigning values for the 3 variables va1, va2, and va3.
    - As a result of the "jump" from Q2 to W1, I get the Variables Screen of Q1 displayed (with the right values for variables va1, va2 and va3), and only after clicking on "Execute" I get to see the data...
    Now, what I need is to display the data first, and not the variables screen... Any Ideas?
    I hope the description of the scenario is clear... If not, please let me know...
    Kind regards,
    Damian.

    I am facing exactly the same problem except that instead of a RRI, I am using parameterized web template URLs. <b>Damian</b>, If you have solved this problem, can you post how? If not, can someone who sees the problem help ?
    To restate the problem,I have a web template with a query which has a variable which is populated by a replacement path query which has another variable whose value the user enters. I build up the parameterized URL.
    http://dw1-sap.app.*******.com:1041/sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=1&CMD=LDOC&TEMPLATE_ID=<b>PRDPROF</b>&VARIABLE_SCREEN=&VAR_NAME_1=<b>PRDTXT</b>&VAR_OPERATOR_1=CP&VAR_SIGN_1=I&VAR_VALUE_LOW_EXT_1=FEM
    The template PRDPROF is based on a query and has a variable PRDID which is a replacement path which is filled by a query whose variable is PRDTXT and is filled in the above URL. PRDTXT is a selection option variable whose entry is optional and is checked ready for input. 'Change during query navigation' is unchecked.
    For some reason, the variable values are passed onto the parameterized URL and will fill the variable screen but the screen waits for the user to push the execute button.
    Can anybody see what the problem is ? Any input is apperciated.
    Thanks.
    > Hi,
    > I have a problem with the Variables screen of my
    > query. The situation is as follows:
    >
    > - I have Query (let's call it Q1) with a "Replacement
    > Path" variable (V1).
    >
    > - The pre-query associated to V1 has 3 variables
    > (va1, va2, va3)
    >
    > - I also have a Web template (W1) that is used to
    > display query Q1.
    >
    > - In W1, the checkbox for attribute "Force Variables
    > Screen Display" is not checked. That is, I want that
    > the variables screen doesn't come up by default.
    > According to the attribute description, if the
    > checkbox is not checked, "...Display only appears if
    > Mandatory variables are not Filled...", and I don't
    > have any mandatory variables.
    >
    > - I use a Sender/Receiver assignment (Tr. RSBBS) to
    > jump from another query (Q2) into W1, assigning
    > values for the 3 variables va1, va2, and va3.
    >
    > - As a result of the "jump" from Q2 to W1, I get the
    > Variables Screen of Q1 displayed (with the right
    > values for variables va1, va2 and va3), and only
    > after clicking on "Execute" I get to see the data...
    >
    > Now, what I need is to display the data first, and
    > not the variables screen... Any Ideas?
    >
    > I hope the description of the scenario is clear... If
    > not, please let me know...
    >
    > Kind regards,
    >
    >
    > Damian.

Maybe you are looking for

  • The executible I build with the application builder does not function the same as my VI file.

    I am using a USB 6008 device with the newest DAQmx drivers and Labview 8.2 to make analog voltage readings.  Within my main VI I first create a data folder in the same location as the VI using a property node and then use case statements to call two

  • Can I add a 2nd iCloud account on my Mac?

    Can I add a 2nd iCloud account on my Mac?

  • JTextPane and it's StyledDocument

    I've looked and looked and can't find anything useful. Does anyone have a working example of inserting html formatted text into a document? Or perhaps knows of a good website that has nice examples of how to insert red text, underline text, etc.

  • Lion Server Podcast does not want to remain turned off.

    I have all the current patches installed and from the beginning, Podcast, when looked at in the "server" app always shows as on. I can turn it off but then in a few seconds it turns itself back on. I have never configured Podcast for anything, even i

  • Version 6.84 produces many Event Logs

    I have just updated from 6.83 to 6.84 and, although the software appears to be working fine, I am getting several events logged in the Application Event Log when my 6131 synchronises. Event 1004 User NT AUTHORITY\NETWORK SERVICE Detection of product