Combobox populate from HTTPService query

I got this working with static XML files, but now its not
working with HTTPService! I'm having problems getting a ComboBox to
fill up with dynamic data from an SQL query which spits back XML
data. I am basically filling one ComboBox based on the selection
from another ComboBox. On startup, I call this method:
public function loadSystems(serv:HTTPService, s:String) :
void {
var params:Object = {};
params[s] = s;
serv.send(params);
To fill in the first ComboBox, which is defined as:
<mx:ComboBox minWidth="130" maxWidth="130" id="mainSys"
dataProvider="{sysOps.lastResult.system.data}"
change="fillComboBox(mainSys, subSys, 'subsystem', subOps,
sysIDs)" rowCount="10" />
It fills up fine, but the fillComboBox method (below) comes
up with a null result and fails
// fill destination combobox based on selection from src
combobox
public function fillComboBox(src:ComboBox, dest:ComboBox,
arg:String,
serv:HTTPService, idArray:ArrayCollection) : void {
var ind:int = src.selectedIndex;
// choose ID from the ID array with the selecetedIndex
var select:String = idArray.getItemAt(ind) as String;
var params:Object = {};
params[select] = select;
params[arg] = arg;
serv.send(params);
dest.dataProvider = serv.lastResult.system.data; //
serv.lastResult is null
I know the server side is getting valid arguments in params
and is spitting out valid XML so the problem is on the Flex side.
Any ideas or help would be greatly appreciated. Thanks!

Although caching is a common problem, that is not the cause
of your problem. In Flex, all HTTPService calls are asynchronous,
which means you cannot call the service and set the result in the
same function like you are doing in your fillComboBox method. You
need to add an event listener and get the result in a different
method. However, in your function you are also passing the
destination which complicates things. Instead of passing the
destination, you could try passing a function that will assign the
result to the component you want dynamically:
change="fillComboBox(mainSys, setSubSys, 'subsystem', subOps,
sysIDs)"
public function fillComboBox(src:ComboBox,
resultFunction:Function, arg:String, serv:HTTPService,
idArray:ArrayCollection) : void
serv.addEventListener(ResultEvent.RESULT,resultFunction);
private function setSubSys(evt:ResultEvent):void {
subSys.dataProvider = evt.result.system.data;
In general, it makes debugging much easier if you avoid
binding HTTPService results directly to components and instead use
a listener function where you can examine the result data for any
problems.
Vygo

Similar Messages

  • Tabular Form Populate from a query of other tables

    I am sure this can be done but we are especially new to Master-Detail relationships in Apex and to Tabular Forms (updateable reports).
    We are trying to populate a tabular form (updateable report) with values from a query. The user is simply going to click yes/no per row and then we need to insert those rows into a table..
    I tried following the logic of creating a Master-Detail relationship, and noticed the AddRow Button and the process to add rows to the Tabular Form. I also noticed several MRUUpdate processes that fire to update existing rows.. I am assuming that I need to first add the number of rows that the query which populates the tabular form pulls in and then update the rows after that. I tiried doing a count and storing the value in a Page Text Field/Hidden Field and then in the AddRows to the MRU I put the field name with & and . around it. That did not work (it could not add rows and came up with an ora-6502 error) , I then tried to put a : in front of it and that failed too.
    Any suggestions on how to proceed.
    Thank you in Advance,
    - Brian

    Here is the issue quickly... I am trying to create a Master/Detail Screen. The master record always inserts, the details are populated from a query into a tabular form/updateable report and always inserts. The user will check certain details and the checked details will be marked as Y, unchecked marked as N and saved to the detail table. And tried to do some research into the issue..
    Possible Solutions I found where: 1) http://htmldb.oracle.com/pls/otn/f?p=31517:170:2680852007789839::NO:::&success_msg=0%20Row(s)%20Updated%2C%202%20Row(s)%20Inserted.%2F838A7BC908323107AD95920713AFD5FD%2F and 2) http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/
    I went with 1).. but modified the code and simplified it since I always know that I should be inserting..
    I am trying to insert into a table called bd45vbjbsel
    CDSELECTED VARCHAR2(1)
    CDBILL VARCHAR2(20)
    NUXRBILL NUMBER
    NATITLE VARCHAR2(500)
    CDMEMBER VARCHAR2(20)
    DECRITERIA VARCHAR2(500)
    NUCRITERIA NUMBER
    NUXRBSELECT NOT NULL NUMBER
    NUXRBSEL NOT NULL NUMBER
    NATXNORGUSER NOT NULL VARCHAR2(20)
    DTTXNORIGIN NOT NULL TIMESTAMP(6)
    NATXNUPDUSER NOT NULL VARCHAR2(20)
    DTTXNUPDATE NOT NULL TIMESTAMP(6)
    CDSTATUS NOT NULL VARCHAR2(1)
    My Tabular Form Select is:
    select apex_item.checkbox (1,
    '#ROWNUM#',
    'onclick="highlight_row(this,' || ROWNUM || ')"',
    NULL,
    'f01_' || LPAD (ROWNUM, 4, '0')
    ) cdselected,
    cdbill, nuxrbill, natitle, cdmember, decriteria, nucriteria , 0 NUXRBSELECT, 0 NUXRBSEL, USER NATXNORGUSER, systimestamp DTTXNORIGIN, USER NATXNUPDUSER, systimestamp DTTXNUPDATE, 'A' CDSTATUS from
    (select nuxrbill, nubill, cdbill, natitle, cdmember, nurevision, MAX(NUREVISION) OVER (PARTITION BY NUBILL) nurevisionmax,
    CASE
    WHEN INSTR(':'||:P200_NUXRBILL||':',':'||NUXRBILL||':') > 0 THEN 'BILL# MATCH'
    WHEN INSTR(':'||:P200_NUXRBILLCAL||':',':'||NUXRBILL||':') > 0 THEN 'CALENDAR# MATCH'
    WHEN INSTR(':'||:P200_CDCOMMITTEE||':',':'||CDCOMMITTEE||':') > 0 THEN 'COMMITTEE: '||CDCOMMITTEE
    WHEN INSTR(':'||:P200_CDMEMBER||':',':'||CDMEMBER||':') > 0 THEN 'MEMBER: '||CDMEMBER
    WHEN INSTR(':'||:P200_DESUBJECT||':',':'||DESUBJECT||':') > 0 THEN 'SUBJECT MATCH'
    WHEN INSTR(':'||:P200_DTCOMAGNDA||':',':'||DTCOMAGNDA||':') > 0 THEN 'COMMITTEE AGENDA: '||DTCOMAGNDA
    WHEN INSTR(':'||:P200_CDPRIORITY||':',':'||CDPRIORITY||':') > 0 THEN 'PRIORITY: '||CDPRIORITY
    ELSE NULL
    END DECRITERIA,
    CASE
    WHEN INSTR(':'||:P200_NUXRBILL||':',':'||NUXRBILL||':') > 0 THEN 1
    WHEN INSTR(':'||:P200_NUXRBILLCAL||':',':'||NUXRBILL||':') > 0 THEN 2
    ELSE 3
    END NUCRITERIA
    from BM46BILL
    where cdstatus = 'A'
    AND ( INSTR(':'||:P200_NUXRBILL||':',':'||NUXRBILL||':') > 0
    OR INSTR(':'||:P200_NUXRBILLCAL||':',':'||NUXRBILL||':') > 0
    OR INSTR(':'||:P200_CDCOMMITTEE||':',':'||CDCOMMITTEE||':') > 0
    OR INSTR(':'||:P200_CDMEMBER||':',':'||CDMEMBER||':') > 0
    OR INSTR(':'||:P200_DTCOMAGNDA||':',':'||DTCOMAGNDA||':') > 0
    --OR (:P200_CDACTIVE = 'Y' AND
    OR INSTR(':'||:P200_DESUBJECT||':',':'||DESUBJECT||':') > 0
    OR INSTR(':'||:P200_CDPRIORITY||':',':'||CDPRIORITY||':') > 0
    ) a
    where a.nurevision = a.nurevisionmax
    I created an Anonymous PL/SQL Block Process called InsertMRU which fires right when a SUBMIT button is pressed after the Master information is inserted, the code for it is...
    DECLARE
    v_insertcount NUMBER := 0;
    v_updatecount NUMBER := 0;
    BEGIN
    :p200_detail_update := apex_application.g_f02.COUNT;
    FOR i IN 1 .. :P200_NUCOUNT -- Number of records pulled in from query.
    LOOP
    INSERT INTO bd45vbjbsel
    (cdselected,
    cdbill,
    nuxrbill,
    natitle,
    cdmember,
    decriteria
    VALUES (apex_application.g_f01 (i) -- cdselected
    apex_application.g_f02 (i) -- cdbill
    apex_application.g_f03 (i) -- nuxrbill
    apex_application.g_f04 (i) -- natitle
    apex_application.g_f05 (i) -- cdmember
    apex_application.g_f05 (i) -- decriteria
    commit;
    v_insertcount := v_insertcount + 1;
    END LOOP;
    :p200_detail_insert := v_insertcount;
    END;
    I am getting an ORA-01403 No Data Found error when submitting..
    Even though I am manually inserting the records do I still need to store the MD5checksum?
    Could there be another reason why I am getting a no data found on submit?
    Thank you again in advance...
    -Brian

  • Master detail with from clause query

    Hi!
    I have 2 blocks: master and detail. The master block is based on a from clause query. Since I have to insert, update and delete on this block I have created the on-insert, on-update, on-delete and on-lock triggers (and the respective procedures).
    In this block I have on-populate-details and pre-delete triggers created by the master-detail relation.
    Now I have a problem!
    Since I only want to commit to db when I click the "ok" button and I want to insert and delete records from these 2 blocks, when I insert records into the detail block (and master too), it forces me to save changes if I change the focus of the current record of de master block to another record within the same block.
    How can I do this in order to insert records saving changes only when I click the button?
    Thanks!
    Ana

    I think that it is intended behaviour: when detail records are populated and there are uncommited changes so Forms asks if user wants to save changes.

  • From clause query works ok in form designer,  gets an ORA-01422 ran on web

    I am using forms 6i patch 9 with 10g database.
    I have two ‘FROM clause queries’ fired via a block/key-exeqry trigger in a if/elsif.
    The first/top SET BLOCK PROPERTY works perfect and populates the block.
    But the bottom/second SET BLOCK PROPERTY select (after the elsif)
    Is also based on a user entered field value and generates a ora-01422 error.
    The problem is that both top and bottom set block properties
    work fine when ran in forms designer,
    But when I compile it on the app_server and run the web version
    1. the top all ‘FROM clause query’ works fine
    2. the bottom ‘FROM clause query’ works fine if only one record to return.
    3. the bottom ‘FROM clause query’: gets the ora-01422 if > 1 record to return.
    FRM-40735: KEY–EXEQRY trigger raised unhandled exception ORA-01422
    The ORA-01422: ‘Exact fetch returned more than the exact number of rows’.
    Both set block property selects ‘share’ a block property/where clause of FAC_ID = :FACILITIES.ID
    The entered value in the entry field should populate 1 to many associated records
    in the bottom (elsif) set block property (and does so correctly when ran in forms designer)
    The block’s key-exeqry code:
    –-query all records associated with fac_id only
    if (:emission_stacks.stack_id_num is null) then
         SET_BLOCK_PROPERTY('EMISSION_STACKS',QUERY_DATA_SOURCE_NAME,
         '(SELECT C.ID, A.ID EP_ID,A.FAC_ID,A.NUM,A.DESCRIPTION,C.PARENT_MODE_ID,
    C.STACK_ID, C.CAPTURE_PERCENT, C.CAPTURE_METHOD, C.DATE_TESTED
    FROM EMISSION_POINTS A,
    EP_MODES B,
    CAPTURING_DEVICES C
    WHERE A.ID = B.EP_ID AND
    B.ID = C.PARENT_MODE_ID AND
    C.CD_ID IS NULL AND
    C.PARENT_MODE_ID IS NOT NULL AND
    C.STACK_ID IS NOT NULL)');
    EXECUTE_QUERY;
    elsif
    (:emission_stacks.stack_id_num is not null) then
    –-(query all records associated with fac_id and the entry field value)
    SET_BLOCK_PROPERTY('EMISSION_STACKS',QUERY_DATA_SOURCE_NAME,
         '(SELECT C.ID, A.ID EP_ID, A.FAC_ID, A.NUM, A.DESCRIPTION, C.PARENT_MODE_ID,
    C.STACK_ID, C.CAPTURE_PERCENT, C.CAPTURE_METHOD, C.DATE_TESTED
    FROM EMISSION_POINTS A,
    EP_MODES B,
    CAPTURING_DEVICES C,
    STACKS S
    WHERE A.ID = B.EP_ID AND
    B.ID = C.PARENT_MODE_ID AND
    C.STACK_ID = S.ID AND
    C.CD_ID IS NULL AND
    C.PARENT_MODE_ID IS NOT NULL AND
    C.STACK_ID IS NOT NULL AND
    S.NUM = '''||:emission_stacks.stack_id_num||''')');
    EXECUTE_QUERY;
    ** I have multiple database items in the block.
    Data block properties:
    Database/
    Data Base Block = Yes
    Query Allowed= Yes
    Is there a way to overcome the ora-01422?
    And populate the block with multiple rows(records)?
    Any suggestions appreciated.

    Sorry, false alarm, I made a mistake
    the form is working fine the way it should,
    without error. (No ora-01422 errror is occurring now.)
    I just got a new version of humming bird,
    which I used to compile the form with
    and did not have the binary switch on:
    --long story short, a new fmx was not created
    and I was not seeing the current version of screen
    at runtime.
    Thank you.

  • Block based on "From clause query" and substitution variable

    Hi Folks,
    I have a "From clause query" block type, which is based on query that uses a substitution variable (:BLOCK.COLUMN) from previous block. When I run a query, then I obtain an error: ORA-01008: not all variables bound.
    My query looks like:
    select seq_no, prod_code, descr, curr_code,
           max(decode(sched_type_code,'ROLLOVER',amt,0)) OUTSTD_DRAW,
           max(decode(sched_type_code,'INTCHG',amt,decode(sched_type_code,'FEEREC',amt,0))) OUTSTD_INTEREST_FEE
    from
        select r.fac_no, r.prod_code, f.descr, r.prod_seq_no seq_no, r.curr_code, r.sched_type_code,sum(nvl(rep_amt,0)) amt
          from repay_scheds r,
               fac_prods f
         where r.fac_no = f.fac_no
           and r.prod_code = f.prd_code
           and r.prod_seq_no = f.seq_no
           and r.fac_no = :B2.FAC_NO
           and r.trans_ref_from is not null
           and r.status         <> 'P'
        group by r.fac_no, r.prod_code, f.descr, r.prod_seq_no, r.curr_code, r.sched_type_code 
    group by seq_no, prod_code, descr, curr_code
    having max(decode(sched_type_code,'ROLLOVER',amt,0)) >0 or max(decode(sched_type_code,'INTCHG',amt,decode(sched_type_code,'FEEREC',amt,0))) > 0Once I replace that substitution variable in query condition with some exact test number then it works fine.
    select seq_no, prod_code, descr, curr_code,
           max(decode(sched_type_code,'ROLLOVER',amt,0)) OUTSTD_DRAW,
           max(decode(sched_type_code,'INTCHG',amt,decode(sched_type_code,'FEEREC',amt,0))) OUTSTD_INTEREST_FEE
    from
        select r.fac_no, r.prod_code, f.descr, r.prod_seq_no seq_no, r.curr_code, r.sched_type_code,sum(nvl(rep_amt,0)) amt
          from repay_scheds r,
               fac_prods f
         where r.fac_no = f.fac_no
           and r.prod_code = f.prd_code
           and r.prod_seq_no = f.seq_no
           and r.fac_no = 2012500
           and r.trans_ref_from is not null
           and r.status         <> 'P'
        group by r.fac_no, r.prod_code, f.descr, r.prod_seq_no, r.curr_code, r.sched_type_code 
    group by seq_no, prod_code, descr, curr_code
    having max(decode(sched_type_code,'ROLLOVER',amt,0)) >0 or max(decode(sched_type_code,'INTCHG',amt,decode(sched_type_code,'FEEREC',amt,0))) > 0How can I use substitution variable within query for "From clause query" block type? Or any other way how to get the same result?
    Thanks for your reply.
    Tomas

    I have a solution:
    Before entering block I'm calling function, that populates my block:
    PROCEDURE POP_<<MY_BLOCK>>_BLOCK IS
      query_txt varchar2(2000);
    BEGIN
       query_txt := '(select seq_no, prod_code, descr, curr_code,
                            max(decode(sched_type_code,''ROLLOVER'',amt,0)) OUTSTD_DRAW,
                            max(decode(sched_type_code,''INTCHG'',amt,decode(sched_type_code,''FEEREC'',amt,0))) OUTSTD_INTEREST_FEE
                                                  from
                                                     select r.fac_no, r.prod_code, f.descr, r.prod_seq_no seq_no, r.curr_code, r.sched_type_code,sum(nvl(rep_amt,0)) amt
                                                       from repay_scheds r,
                                                            fac_prods f
                                                      where r.fac_no = f.fac_no
                                                        and r.prod_code = f.prd_code
                                                        and r.prod_seq_no = f.seq_no
                                                        and r.fac_no = '||:B2.FAC_NO||'
                                                        and r.trans_ref_from is not null
                                                        and r.status         <> ''P''
                                                     group by r.fac_no, r.prod_code, f.descr, r.prod_seq_no, r.curr_code, r.sched_type_code 
                                                 group by seq_no, prod_code, descr, curr_code
                                                 having max(decode(sched_type_code,''ROLLOVER'',amt,0)) >0 or max(decode(sched_type_code,''INTCHG'',amt,decode(sched_type_code,''FEEREC'',amt,0))) > 0)';
       Go_Block('<<MY_BLOCK>>' );
       Clear_Block ;
       Set_Block_Property( '<<MY_BLOCK>>', QUERY_DATA_SOURCE_NAME, query_txt) ;
       -- populate my  block --
       Execute_Query ;
    END;Thanks,
    Tomas

  • Using data from HTTPService call

    I have been searching every forum, Google, etc for what I'm
    trying to do. I have found some answers, but none of them seem to
    work for me or I'm doing something wrong (probably the latter).
    I have a simple app that presents a form to a user and based
    on their input it makes and HTTPService call to send a GET to a PHP
    script which then returns data to fill a datagrid and present a
    chart. That all works good. Now I'm trying to figure out the best
    way to export the data to a CSV. I've seen the forums that show how
    to put the data to a clipboard and then copy it. I can't get any of
    those to work for some reason. I had another idea, but can't figure
    out how to do it.
    I'd like to take the same query and returned results and put
    it into a string or similar so I can output the data to a TextArea.
    Is this possible? I've got the popup working and when I can get it
    to fill in the TextArea, it just says
    "[Object,object],[Object,object]...... " over and over again. So
    it's almost like the data is getting there, but it's not displaying
    properly. Any thoughts on how to do this?
    Is the data returned from a query like this an Array? An
    XMLList? I can't find any docs on how to determine what the result
    is returned as or how to use the result other than in a datagrid or
    filling in Labels or Text fields.
    Any help would be greatly appreciated.
    Thanks,
    chris

    Tracy - Thank you for taking the time to reply. Sorry about
    posting to the wrong forum. I was busy reading so many other posts,
    I just hit the link to add a new topic.
    You are right, my first problem was how to use the returned
    data. I found another post that said to use the e4x format, just
    like you said and that definitely helped. I found this example on
    manipulating XML data:
    http://www.brucephillips.name/blog/index.cfm/2006/10/15/XML-Tutorial-Part-2,
    which also help.
    With all of this, I am able to take the XML output and dump
    it right into the TextArea for viewing or selecting and copying.
    What I'd like to do now though is to pull off the XML tags
    and just have the straight content so that I can have usable CSV
    text to copy.
    As for the System.setClipboard() call - I guess I didn't have
    so much trouble with that other than figuring out how to get the
    data out of my datagrid properly, convert it to a string to create
    a CSV format and then copy it.
    Chris

  • FROM clause query dara block

    Hi,
    A data block which was created using FROM clause query, can be set as master block of another block? So i want to build a detail block and the master block being the 1st block, made with FROM clause query.
    Thanks

    i observed that a block created with FROM clause query cannot be a detail block, but it can be a master block. Correct?Yes, a From Clause based Block can be the master table in the Master - Detail relationship. I have successfully created a Form with this type of relationship! (I found my demo - I had it reversed).
    I tried to create a FROM clause data block as detail block (and set a relationship with a master block) but i encountered an error at the relation and i deleted it (also the automatically generated triggers).This was my experience when I attempted a demo form that had the From Clause based block as a Detail in the Master - Detail relationship. The error in the On-Populate-Details triggers was easily fixed (the query has to be wrapped in parenthesis) but when I ran the form there was no coordination between the blocks.
    but anyway, are these things written in the documentation?Not that I have ever found. It was always my understanding that if Oracle considered the data block to be a "base table block" (eg; block property Database Data Block = Yes) then all of the features of a base table block were available. The only thing I found in the documentation (Forms Help system - search on: "About creating a Master-Detail Relationship" and open the resulting document) indicated that a relationship should not be created where the detail block is based on a procedure, but it was OK if the master block was based on a procedure (see the Limitations section of the aforementioned document). I guess you could infer that this limitation applies to From Clause based blocks as well, but this is not explicitly stated in this document.
    Craig...

  • Create a drop-down list that populates from AD

    Hello,
    Is there a way to create a drop-down list in Excel that will populate from active directory?  I'm finding all sorts of stuff for SharePoint, but nothing for Excel. 
    Thanks!
    -Dusty

     If you are using the following version of Excel:
    1.Microsoft Office 2010 Professional Plus with Software Assurance
    2.Microsoft Office 2013 Professional Plus, Office 365 ProPlus or Excel 2013 Standalone
    You can download and install the Power Query add-in, then you can import the data from Active Directory to Excel.
    Wind Zhang
    TechNet Community Support

  • Error creating Universe from BW query

    Hi
    Creating the Universe connected to BW query (BI 7).   
    Connection is proper and universe designer is connected to BW system without any problem.   I have already used many queries to connect to universe and webi documents has been developed.   
    The only difference in this BW query is,  it is using hierarchy with 'derivation type'  in 'select hierarchy date'.
    BW query is working as expected in BEx designer.
    This is the error message when trying to create the universe from BW query -
    Error getting dimensions for cube <infoprovider name>/<query name>(catalog <infoprovider name>): Unknown error when executing MDX
    Product name : SAP BusinessObjects Enterprise XI 3.1 Client Tools SP3
    Please respond how this can be resolved.
    Thanks
    Sreedh

    Sreedh,
    I was wondering whether you could resolve this error?
    Would appreciate if you can convey the resolution.
    I am getting the same error - ( BOE XI 3.1 ).
    Thank you,
    PK

  • How to display first row value returened from a query as checked as default in a report

    How to display first row value returned from a query as checked as default in a report
    Example
    Parameter 1
    Paramerter2
    ABD
    x(checked)
    Test
    DEF
    JMG
    Mudassar

    Hi Mudassar,
    The issue is caused by the order in which the parameters appear in the report data tab can be difference between our report execution and it failing. In other words, “Parameter2” is execution before parameter “A” due to this issue. We can adjust the parameter’s
    order to solve the issue.
    If “Parameter2” is parameter “A”, we cannot use that expression. Because fields cannot be used in report parameter expression, if we want to display the first value returned from a query as default value, we have to fill the “Specify values” text box with
    the specific value in Default Values dialog box.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • IR Dashboard report from new query not getting all Quick Filter selections

    I inherited an IR Dashboard .bqy and my user recently added a new Query, Result, Table, and Report section to it. I cannot get the report to dynamically filter based on the date chosen in the existing Quick Filters section. It seems to be filtering the Location properly (drop down in Quick Filters section), but not the date. Her result section refuses to show anything less than ALL dates from the query.
    The other reports/pivots already on the dashboard work fine with all QuickFilters.
    In my attempt to integrate her new report in to the dashboard I add a new hidden "dummy" pivot (based on the existing query btw, not the new query-could that be the issue? it's dummy though so i figured it was ok), reference this pivot in the Embedded Targets object I found by adding "Object~Pivot4|Type~9|Target~Casket Margin Summary" line,
    went to Dashboard Studio and was able to Associate this report in to the right frame, etc.
    In the script behind the QIQ date "Set Filters" button I saw this code for the existing "Result_Detail" section so I added a line for my new "Results_Merch Detail" section.
    var objServDate = ActiveDocument.Sections["Casket Margin"].Shapes["Service_Date^qiqlbx^showname^a"];
    if (objServDate.SelectedList.Count > 2){
         Alert("Please select only two dates");
         return;
    ActiveDocument.Sections.Item(txlMe.Text).Qiq_onControlClick(this.Parent,this)
    ActiveDocument.Sections["Results_Merch Detail"].Limits["Service Date"].Operator = 11
    ActiveDocument.Sections["Results_Detail"].Limits["Service Date"].Operator = 11;
    I tried it with and without an extra semi-colon at the end of my line. Is that the right way to tell it to apply it to more than 1 Result??
    Worked with this for hours now and can't find whatever else is hidden which tells the QIQfIlter Date to refresh this NEW query/result when chosen.
    I tried to make sure all Filter items exist in the new query's Request line, one was missing. i haven't gone back to Dash Studio since then and re-saved, does THAT matter? I saved the .BQY and re-processed, still no luck.
    can anyone help? I'm desperate for suggestions.
    Thank you!
    Karen

    This has been resolved. The main thing that kept it from working was I kept launching the Dashboard Studio after I was in Design mode so any time I got to the QIQ Filters setup screen it looked like cryptic code and there was nothing to alter or play with to try and force the filters to take effect, so I never changed anything.
    This time I launched the Dashboard Studio while accidentally in regular mode, blessing in disguise. on Step 1 of the wizard I chose QIQ Filter Properties from the configuration drop down list which pops up the Local Filters setup window, now in place of code syntax there was english-like words & action items for me to play around with so I chose my new result set from the drop down list and highlighted all the limits and clicked "Set Filters". Presto, that did it.
    Also I had to make sure all the columns referenced in the QIQ drop down lists and pick list was in my request line in the Query & Result section, repeat the above, and it's all working great now.
    Thanks,
    Karen

  • Query based Report (Reports From SQL Query)

    Hi All,
    I am facing a problem with a report. I need your help.
    I am creating a Report From SQL Query (Portal) with some arguments passed at runtime. I am able to view the output, if the query returns few rows ( arount 1000 rows). But for some inputs it needs to generate >15000 records, at this point the page is getting time out (i think!) and showing error page. I am able to execute query from the SQL Plus console ot using TOAD editor. Here the query is not taking more that 2 mins time to show the result.
    If i am executing from Portal i observed that, once i give the appropriate input and hit submit button a new oracle process is getting created for the query on UNIX (I am usign "TOP" command to check processes). The browser page will be shown error page after 5 minutes (i am assuming session time out!) , but on the backend the process will be executed for more than 30 mins.
    Can i increase a timeout of portal page, how i can do this?
    The data returned as a result of the query is sized more than 10 MB. Is caching this much data is possible by the browser page? is the returned data is creating any problem here.
    Please help me to find appropriate reasone for the failure?

    Can you post the URL that is giving you the page not found error ? I am not sure if I can be of much help though.
    In order to increase your chances to get a reply you should also post your question in the Portal Forum - Oracle Application Server Portal
    Edited by: Rodolfo Ferrari on Jun 16, 2009 3:49 PM

  • Adding update and delete buttons to a  Report from SQL Query

    There is an option when creating a QBE to add update and delete
    links which i find quite useful, but this option doesn't seem to
    be possible on a Report from SQL Query. Do i need to do
    something special to add them? is the option located in a
    different place?

    Hi,
    You can only add Update ,Delete in QBE Reports,
    there is no option in Portal which can be used to
    have these buttons in the Reports from Query Wizard or
    Report from SQL Query.
    Thanks
    Vineet

  • Getting zero-sized reply error when running report from SQL query

    Hi,
    I have a Report from SQL Query in Portal. When I select Excel in Output Format and then run the report, it works properly, but when I select HTML in Output Format, the report works if the rows returned are not so many (I've been able to display the report for up to 701 rows), but when I try selecting a value from the LOV that selects many rows, I get the following error:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: <data suppressed>
    The following error was encountered:
    Zero Sized Reply
    Squid did not receive any data for this request.
    Any ideas on how to fix this? Why does the number of rows returned affect the report this way?
    Thanks,
    Lorena

    Problem comes when any of the filter is applied in any one of the cases selected from the GUI.Do you mean that the problems only shows when you run the report in your browser via 9iAS?
    Which version are you using?
    Can you post the before report trigger?

  • Getting Zero Sized Reply error in report from SQL query

    Hi,
    I have a Report from SQL Query in Portal 3.0.9. When I select Excel in Output Format and then run the report, it works properly, but when I select HTML in Output Format, the report works if the rows returned are not so many (I've been able to display the report for up to 701 rows), but when I try selecting a value from the LOV that selects many rows, I get the following error:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: <data suppressed>
    The following error was encountered:
    Zero Sized Reply
    Squid did not receive any data for this request.
    Any ideas on how to fix this? Why does the number of rows returned affect the report this way?
    Thanks,
    Lorena

    Hi,
    I have a Report from SQL Query in Portal 3.0.9. When I select Excel in Output Format and then run the report, it works properly, but when I select HTML in Output Format, the report works if the rows returned are not so many (I've been able to display the report for up to 701 rows), but when I try selecting a value from the LOV that selects many rows, I get the following error:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: <data suppressed>
    The following error was encountered:
    Zero Sized Reply
    Squid did not receive any data for this request.
    Any ideas on how to fix this? Why does the number of rows returned affect the report this way?
    Thanks,
    Lorena

Maybe you are looking for

  • Open GR/IR question

    Dear Guru's, We were able to load the GR/IR balances to a dummy takeover account using LSMW direct input program RM06EEI1 Scenario was: PO = 100 EA GR has already happend for 50 EA in legacy, so Open GR was loaded for 50 EA Invoice qty in legacy = 0,

  • How do i pass parameters to a web dynpro application ?

    Hi all, how do i best possible pass (serverspecific) parameters to a web dynpro application ? i wrote a web dynpro application that, among other things, sends an email and stores files on a server directory. Therefor i need parameters like e.g. "mail

  • Transferring music from iphone to library

    ive just got a macbook pro and dont know how to load the music on my iphone onto the library? please help, thanks

  • Finding missing photos

    I recently purchased a new Windows 7 computer and upgraded to LR3.3 at the same time. I used Laplink PCmover to transfer my files over to the new machine. I was using multiple external drives to store photos, I installed a dedicated 2 TB internal dri

  • Saving XML to .sesx...will not open in CS6

    Im trying to convert my legacy sessions into Audition CS6 sessions. Im successful at importing an XML created in Audition 3, but when i save it in auditionCS6 and try to re open it, i get an error message...saying the file is corrupt or unsupported.