Cannot generate a reports region with a search field in an existing app.

I have not found a way of generating a reports region with a search field on an existing page in an existing application.
Can anyone help?
n.b. I am using htmldb with Oracle XE

If it's DPS no. There is no native search available.
You'd have to do the entire thing in HTML.
Bob

Similar Messages

  • Weird behavior: PLSQL-generated SQL Report Region

    I am trying to tune my PLSQL-generated SQL Report Region. I put in some code to write the resulting query to a table. I turn it on, run the page, and then turn it off and look at the SQL. Instead of getting one query for each time I load the page, I get five. Trying to find out a bit more about why, I concatenate :APP_USER and to_char(sysdate, 'hh:mi:ss') to the resulting SQL. What I find is that four of the entries in the table have my ApEx dev username, and all of these writes are 3 seconds before the SQL generated under the app username is written!
    It probably goes without saying, but in all of the writes under my dev username, there are no session values and so any PLSQL if statements that depend on a session value act as if the session values are null. Also, any place I have :APP_ID show up as 4000 in those writes instead of the app number that shows up under my app username.
    Do you follow this?
    Well, on a hunch I copied the whole region back on to the page and disabled the original. This time, no writes with the dev username, only one select statement as originally expected.
    Is that wierd or what?
    Bill

    Scott, Your last comment - that was it. I should've paid more attention to the time. The minutes must have been off. I made sure to log out of the dev environment before I ran the page, but the writes under my dev login were occurring when I saved the region. I still don't see why that process causes four identical writes, but it's not that important.
    Thanks! Now I can to working on the real problem - improving my SQL.
    Bill

  • Report region with sql query

    Hi
    I have a report region with sql query. There are two regions in page. On top of page, user enters data and after that second region show enterd data which is report region
    based on sql query.
    Now,when this page is opned, as user had not entered any thing, report region shows "no data found" message. Is it possible to remove that message or
    may i conditionally disaply report region i.e if data is inserted then only report region is dispalyed.
    Thanks

    >
    i was trying with select count(1) in expression.
    >
    Just for your info, COUNT() (without any grouping obviously) with always return 1 row. If there are no result for the query then 1 row will be returned with a value of zero - so there are results returned.
    Secondly, why were you using COUNT(1) rather than COUNT(*)? That is is faster is a very common misconception and not true. If you need to know how many rows have been returned, use COUNT(*). If you need to take nulls into account (ie. not include them in your count) then use COUNT(column_name) and name the column that you are interested in specifically.
    Cheers
    Ben

  • Repository reports cannot generate HTML report

    Hello
    In our Computing Labs, we have Oracle9i Designer installed on Windows XP Professional.
    Our students are having a problem when they try to Run Report in Repository Reports.
    The student first sees an error message for Internet Explorer that says "Cannot find "file:///c:/docume~1/%username%/LOACLS~1/Temp/ck*.tmp.html". Make sure...". %username% of course being the current user and ck* being the filename of the report.
    If the user examines the contents of ~/Local settings/Temp, they will see that when this error message comes up, there is a file ck*.tmp (no HTML extension). The HTML file is never generated though.
    When the user click on the OK button for the error message, Internet Explorer open to a blank page. When IE is closed, Repository Reports posts a message that says "CDI-21309: Unable to delete file c:\docume~1\%username%\locals~1\Temp\ck*.tmp.html". When the OK button from this message is clicked the user is returned to Repository Reports, but the report is never generated.
    Our users are set up as Dynamic Local Users, and are members of the Power Users group. We do have some pretty tight restrictions on Group Policy.
    When a user who is a member of Administrators (also dynamic local user) logs in and attempts to create a report, (s)he has no problem. Repository Reports functions exactly as it should.
    I have already given Power Users complete access to all files on the hard drive, so I don't think it could be an NTFS file permission issue.
    If anyone has any advice, it is certainly welcome. Our students need to be able to print off these reports for classes, and I am not familiar at all with Designer.
    Thank you very much
    David Summers
    University of Idaho ITS
    Student Computing Labs

    Here is how I resolved my problem with non admin users not being able to run reports.
    Designer 9i ver 9.0.2.80.6
    Repository Reports ver 9.0.2.80.4
    Problem - When non Administrator users try to generate a report in Repository Reports, they either get a file not found error for the HTML report (and IE will not show the report) or Repository Reports stops responding (and rwrun.exe has to be manually killed).
    Fixes
    -%TMP% and %TEMP% environment variables must resolve to paths that are fewer than 30 characters. In our environment (WindowsXP with Novell Dynamic Local Users), %TMP% and %TEMP% were the temp folders in the user's profile, which is a long path. Changing the environment variables to point to c:\temp was one step in resolving the issue. Although there is a patch released related to this, my installed version is post-patch and I still had to change the temp environment variables.
    -HKLM\SOFTWARE\ORACLE\HOME0\REPORTS_TMP must be set to a writable area for the user group using Designer and Reports. In our environment it was set (during install) to the local administrators temp space (in administrators local profile) - I'd guess it gets set to whatever %TMP% or %TEMP% is for whichever user installs the application. Our users cannot write to this folder, so setting this registry value to c:\temp was another step in resolving the issue.
    -c:\OraHome1\reports\logs must be writable for whichever user group is running Reports. Before making this change but after making the previous two changes, reports would simply freeze for Power Users. When trying to log off, rwrun.exe had to be manually killed - and sometimes a Dr Watson report would come up and ask to be sent in. By granting the user group that uses Reports write permissions to this folder (or the equivalent in your environment), Repositry Reports no longer freezes and successfully generates the HTML report.
    David Summers
    University of Idaho ITS
    Student Computing Labs

  • Is PDF output of more than one reports region with Apache FOP possible?

    Hi,
    I'm evaluating the possibilities of PDF output by means of the Apache FOP. I've installed the standalone OC4J, deployed the fop.war and configured my APEX 3.2 installation according to the various guides I found. Now I can generate PDF output of a reports region.
    I will have APEX pages containing more than one reports region. Is it possible to generate a PDF document of the whole page, not just of the individual reports regions? If so, then how?
    Thanks,
    Robert
    On a sidenote: Does anyone know where I can find the licensing model and fees for the standalone OC4J? They don't seem to be included in the [price list|http://www.oracle.com/corporate/pricing/technology-price-list.pdf].

    Hello Sue,
    >> The first report on Page 3 successfully opens Page 14 as a popup.
    Please show us the code you are using for the popup link (it’s not the template that causes it to open as a popup. The template only styles the page once it rendered).
    Regards,
    Arie.
    ♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    ♦ Author of Oracle Application Express 3.2 – The Essentials and More

  • Dynamic generated SQLfor report regions

    is it possible to do the following to generate the sql statement of a report region dynamically?
    for example i have on page 1 some checkboxes ( to show or not to show columns of the report)
    checkbox1: show col1
    checkbox2: show col2
    checkbox2: show col2
    based on the selection of these checkboxes i would like to dynamically generate the sql content of a report region on page2
    Select col1, col3,
    from my_table

    Andy, thank you very much! this looks perfect to me.
    just one more question:
    Is it ( or will it be) possible to change the sql source of a report region itself dynamically
    my "dream" would be an object related approach like :
    reportregion_name.sql_source = v_sql;
    where v_sql is generated dynamically by a procedure or process.
    i had a look at ps/sql dynamic regions, but i have the feeling that i would loose all advantages of APEX ( like page rendering,...)

  • How to hide/show reports region with radio group selections

    Hi, I have an HTML region with a radio group of two choices (Rpt1 and Rpt2). Also got two other report regions which depend on the radio group selections and by pressing a button it will display records.
    Everything does work perfect BUT say I select Rpt1 and press the report button it will show the records and after that if I select the Rpt2 radio button I still see the result of Rpt1 records. How can I clear or hide the reports regions when I change my radio button selection?
    Thank you
    -iahmadi

    Hi,
    You can create HTML regions that do not need to contain anything at all (use the "No Template" region template to ensure that you don't see a region Title on the page).
    However, in order to get this region to be displayed until the Report button is clicked, you would need to have a hidden page item (called, say, P1_SHOW_REPORT) that has, as a default, 0 as a value. The branch that is triggered by the Report button would then set this item to 1 - so, 0 = hide and 1 = show
    On your page you should have a branch that is conditional on the Report button being clicked. On this branch, set the first "Set these items" to P1_SHOW_REPORT and "With these values" to *1*. You should also have a branch on the page that is unconditional - meaning that it can be triggered by anything that submits the page. Firstly, this branch should have a high Sequence Number (say, 99) and secondly, should should set the value of P1_SHOW_REPORT to *0*. So the Report button sets it to 1 and anything else (which will include the radio button selections) will reset it to 0.
    Now, on your regions you have to change the conditions slightly as we now have two conditions to check - which report has been selected and whether or not the Report button has been clicked.
    This can be done by using a SQL Exists condition of something like:
    SELECT 1 FROM DUAL WHERE :P1_SHOW_REPORT = 1 AND :P1_RADIO = 'ABC'(where ABC is the value for the radio button for the report
    The "blank" region would also have a condition - that would be a simple Item = Expression 1 condition of P1_SHOW_REPORT = 0
    Andy

  • Multiple Report Regions with same height?

    Dear forum members,
    I have a page containing 4 report regions arranged in a 2x2 matrix. Each region should show 10 rows using pagination.
    And I want them to have same width and height.
    No problem to let them have the same width...
    But how may I tell my regions to have the same height (that is the same like showing 10 rows would be), even, if there is no data found by one of the source queries?
    Any comments welcome!
    Best regards,
    Johann

    Hi,
    You need to wrap your report in a DIV tag. I have done that here: [http://apex.oracle.com/pls/otn/f?p=267:28]
    In each region's Region Header setting, put:
    <div style="height:200px">and in the Region Footer setting, put:
    </div>Andy

  • UME user search with multiple search fields (AND / OR search)

    Hi,
    I'm struggling with a UME user search problem. I have multiple search fields: lastname, firstname, department
    Searching in this fields is working with the default IPrincipalSearchFilter.SEARCHMETHOD_AND (default)
    <a href="http://help.sap.com/javadocs/NW04/current/um/com/sap/security/api/IPrincipalSearchFilter.html#setSearchMethod(int)">JavaDocs SearchMethod_AND</a>
    Now I would like to add an additional search field for searching in telephone, cellphone as well. BUT searching for a phone number with searching for one of the other fields should not be a AND search. Is this possible?
    Here is the actual non-working code:
         Vector retVector = new Vector();
         //get Userdata with IUserFactory
         IResourceFactory resourceFactory = ResourceFactory.getInstance();
         IURLGeneratorService urlGen = (IURLGeneratorService)resourceFactory.getServiceFactory().getService(IServiceTypesConst.URLGENERATOR_SERVICE);
         IUserFactory userFac = UMFactory.getUserFactory();                    
         IUserSearchFilter srcFilter = null;          
         try
              srcFilter = userFac.getUserSearchFilter();
         } catch (UMException e)
              // TODO Auto-generated catch block
              e.printStackTrace();
         if(lastName.length() > 0)
              srcFilter.setLastName(lastName + "*",ISearchAttribute.LIKE_OPERATOR, false);
         if(firstName.length() > 0)
              srcFilter.setFirstName(firstName + "*",ISearchAttribute.LIKE_OPERATOR, false);
         if(department.length() > 0)
              srcFilter.setDepartment(department + "*", ISearchAttribute.LIKE_OPERATOR, false);
    //Here I need help!!!!!!! Please advice!!!
         if(telephone.length() > 0)
              srcFilter.setTelephone("*" + telephone, ISearchAttribute.LIKE_OPERATOR, false);
              srcFilter.setCellPhone("*" + telephone, ISearchAttribute.LIKE_OPERATOR, false);
         //if(mobil.length() > 0)
         //     srcFilter.setCellPhone("*" + mobil, ISearchAttribute.LIKE_OPERATOR, false);
         //Set maxium value for Result and thus limit the static variable SIZE_LIMIT_EXCEEDED
         //This method can only be used, if only one search attribute is specified -> thanks SAP
         if(srcFilter.getElementSize() <= 1)
              srcFilter.setMaxSearchResultSize(300);
         ISearchResult srcResult = null;
         try
              srcResult = userFac.searchUsers(srcFilter);
         } catch (UMException e1)
              // TODO Auto-generated catch block
              e1.printStackTrace();
    Thanks for any help...
    Stefan

    Hello,
    I could still need some help. Is there no one who could give me a tip? Could I explain my problem clearly enough or do you need some more information about my problem?
    Or is the search topic with searchFilter not a very common used thing?
    Is there a possibility to do a search in the received search result? Can anyone explain how this would work?
    Any ideas are welcome.
    Regards,
    Stefan

  • Keyword Search with the search field

    Hi everyone,
    I have a question regarding search by keywords: when I type in more than one keyword in the search field I do not get any results, no matter if I separate those with a comma or just a space. Isn't this supposed to work? Or do I have to use the search HUD for keyword search? When I am searching my entire library there are a LOT of keywords. I always thought I could use the searchbar just like Spotlight, typing several words and getting results in real-time. It works like this in iPhoto, so why not in Aperture?
    Regards,
    Stefan

    Really?
    You mean you can't just click on the Magnifying Glass in the Search Box like I can?
    Uploaded with plasq's Skitch!
    And then Select Rating?
    Uploaded with plasq's Skitch!
    And then click on the Third Dot and it will become a Star?
    Uploaded with plasq's Skitch!
    Or even use a Smart Album? File -> new Smart Album: My Rating -> is -> And there's click on the third dot to make it a star trick again?
    Regards
    TD

  • The operation cannot be completed an item with the name  "...already exists

    Hello mac users,
    please help me... I can't copy to Applications any larger *.app file. I try drag Ableton (live.app ~120mb) or Mailplane.app (76mb) to Application dyr, but I saw message: "the operation cannot be completed an item with the name "..." already exists". But i had never install this apps before.

    So, you are dragging the application from it's folder on the disk image directly to your Applications folder. If that's the case and you still get this message, have you ever installed that application before?
    If it was installed at some time in the past, look in /Library/Receipts to see if there is a .pkg or a .bom for it. If you find one, delete it and try again.
    EDIT: I'm downloading ableton now to see what's going on... OK no problems here. I dragged it to my Applications folder and now have a folder named "Live 7.0.10 OS X" in my Applications folder.
    Perhaps you are looking for it under the wrong name?
    -mj
    Message was edited by: macjack

  • Issue with custom search fields in agent inbox

    Hi All,
    I am working on CRM agent inbox 7.0. The issue I am facing is like this:
    I have added custom search fields in inbox. When give a combination of standard search field and custom search field, the result is only based on standard field. The value of custom field is not considered.
    Is this a standard behaviour? Are standard fields given higher priority that custom fields?
    Any pointers on this would be highly helpful.
    Thanks,
    Narendra

    Hi Naren,
    Did you add custom field using AET? If yes then while adding custom field using AET did you make it search and result relevant?
    There is nothing like priority in standard SAP fields and custom fields.
    Please let me know so that I can further help you.
    Thanks,
    Bhushan

  • Vertical Toolbar thingy with a search field and my bookmark folders underneath. How do I get rid of it?

    This might sound ridiculous but here it goes: I accidentally hit a couple keys on my netbook keyboard. This made a toolbar pop up on the left side of the window. It's vertical and has a search field at the top, then listed underneath are my bookmark folders in expandable/collapsible tree format. I can't find any reference to it in any of the options. I just want it to go away. It's kind of bothering me a lot more than it should. Please help me get rid of this.

    @<b>gobby</b>
    Please do not use existing threads to ask a question, but [/questions/new start a new thread] instead.
    Then you also can provide troubleshooting information like your operating system and installed plugins (about:plugins), and extensions (Tools > Add-ons) and we will be better able to help you.<br />
    See [[Deleting bookmarks]]

  • Report region with column link that opens a pdf doc based on report query

    Hello
    I'm building a report table that displays info about a customer - simple select - and, for each record, has associated column links based on report queries that receive ID as parameter. When clicked, it opens the report in pdf extension. My problem here is how to pass the ID as a parameter to that report query considering i'm using a report table and that there are no items in page 71...
    This is the report query i'm using:
    select initcap(a.customer) customer
    , initcap(a.address) address
    , initcap(a.rep) rep
    , (select initcap(b.city)
    from portal_records b
    where b.contrib=a.contrib
    and b.year=to_char(sysdate,'yyyy')) city
    , (to_char(a.datereg,'dd')||' de '||to_char(a.datereg,'Month')||' de '||to_char(a.datereg,'yyyy')) datereg
    from portal_authorizations_cve a
    where a.id=:P71_ID ???????????????
    I thank in advance all your replies!!

    Hello
    First of all, let me compliment your for your demo application... It's awesome!
    I've looked into your sample (page 15) and, as far as i see, it opens a document saved in a table's column. I don't want the file to be saved there but generated when the user clicks on that particular link... So i still have the problem of how to pass the right ID as a parameter considering there is no page item on that page...
    My javascript knowledge is little so i ask you: when clicking the link, is there any way of opening a window with the url f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=Authorization_CVE and the ID as a parameter?
    I thank in advance!

  • Problem with hidding Search fields used to pass IDs to the table

    Hello,
    I have a problem which may be trivial but I cannot find the solution for quite a long time.
    Please help
    I have created a standard Search Panel with CustomSimpleSearch
    I have LOVs to search for manager and organizations. You simply choose the a manager of an organization from the list.
    Then I would like to put the values back on the original form
    in two fields (in case of manager)
    Manager name - visible for users so they know what they selected
    Manager ID - to use to search the records in the table I have
    SO I have defined mappings and the values are passed and then
    the records are found based on Manager ID. The only problem is
    I don;t want the ID to be displayed on the screen. I would like to hide this
    messageTextInput
    but I cannot
    I tried setting the following attributes:
    Rendered = false -> searching does not work
    Secret = true -> searching does not work
    Length = 0 - > lenght does not change
    How to hide this field so that the ID is passed to it transparently and then the value is used for searching ?
    Thank You in advance for Your help
    This forum is great
    Michael

    Use formValue bean instead of messageTextInput. It is used for the very same purpose which you are looking for.
    --Shiv                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Can't import iTunes Library.xml to rebuild library in iTunes 7.5 - why?

    Hi, I did an "erase & install" with Leopard because I got kernel panics with 10.4.11, and whenever I try to import my old iTunes Library.xml (which weighs more than 45 Mo) to rebuild my library in iTunes 7.5 as indicated in the kb, I get a new kernel

  • How to get the records which contains single quotation.

    Hi All, I am having one table which contains the name like D'ales,D'silva. I have have one filter in APEX as "Name". I need to filter it like D' % this . How can i do in apex, the replace command is working in SQL but not in Apex. My filter is like t

  • Setting source property of Trinidad image component using java script

    Hi, Can anyone tell me how to set the source property of Trinidad Image component using javascript. i tried document.getElementById("f1:img").source="/images/neha.gif". But its not working Thanks Neha

  • File menu not updating

    Installed a few extensions in dreamweaver. As ever it gives a few options to access. Where one is to tick the windows>insert option so that I get extra icons on the screen, I can access the extension. However on these I should be able to go to the in

  • ORA-33858: The value of the ampersand-substitution expression is NA." Cube

    Hi David , While deleting a cube I am gettingbelow error . Any reason as the error is not easy to understand . The transaction is not committable: "An error has occurred on the server Error class: Express Failure Server error descriptions: DPR: canno