Dynamic Order By on Report Builder 10g

Hi,
How can I do a dynamic order by clause using user parameters on Report Builder 10g? I need to set dynamically the column and the direction on the clause.
Thanks.
Bruno Galletti
Brazil.

Hi Bruno / Rainer,
I am implementing the same solution, and after adding the lexical parameter reference in the SQL statement and calling the report from Oracle Forms the report failed with the following error on the report server:
Terminated with error: <br>REP-300: missing expression select wcsr_no , wcsr_date , wcsr_rec_week_zone , wcsr_loc_house_num || ' ' || wcsr_loc_pre_dir || ' ' || wcsr_loc_street_name || ' ' || wcsr_loc_street_type || ' ' || wcsr_loc_post_dir || ' ' || wcsr_loc_unit || ' ' || wcsr_loc_city || ' ' || wcsr ==>
No change has been done to the SQL statement except adding the &p_orderby parameter at the end of the query.
Any suggestions? Are all parameters defined as "bind" parameters on the Repotr Object Navigator.?
Thanks
Gabriel Aguirre
[email protected]

Similar Messages

  • ORACLE reports Build 10g - Data Model - query - If statement in Alias ?

    I have the following select statement. It has the alias Survivors, Deaths and "All
    With the ORACLE reports Build 10g - Data Model - I have the following query statement. I require the alias to change. Can the following be done.
    Cases". Is it posible to use :P_LANGUAGE variable to say that -- IF :P_LANGUAGE = FRENCH THEN alias are Survivants for survivors, Décès for Deaths, Tous_les_cas for All Cases. Please advise
    SELECT ALL T_NTR_MULTIBAR.CAT, T_NTR_MULTIBAR.NUM_CASES_LEFTBAR AS Survivors,
    T_NTR_MULTIBAR.NUM_CASES_MIDDLEBAR AS Deaths, T_NTR_MULTIBAR.NUM_CASES_RIGHTBAR AS "All Cases"
    FROM T_NTR_MULTIBAR
    WHERE INSTANCE_NUM = :P_INSTANCENUM
    order by ORDERS

    It is no problem, you can automatically change the complete query before the report is running, which delivers you different kind of values. But the alias names does not change in the group of the data-model, although two query are running with different alias names at different times. In the data model you see the alias names of the first implemented select statement, which are the column fields in the layout.

  • Issue is TEXT_IO application API is not working in report builder 10g.

    Issue is TEXT_IO application API is not working in report builder 10g.
    TEXT_IO application api is working in report builder 6i. (Not working in upgrade from Oracle EBiz 11i to Oracle Ebiz R12)
    I saw that details in some forums, client_text_io is available for form builder 10g.
    Is any other api available for report builder 10g?
    If it is available what steps we need to do?

    All the CLIENT_% procedures are part of webutil in Forms. Forms uses the Java applet on the client PC to perform actions on the local PC via webutil. This is not possible for Reports.
    You can still use text_io on the server, but you need some other way to copy the files to/from the client PC.
    I wonder how you used the functionality in EBS R11. Even R11 uses web reports, so text_io already worked on the server, not the client PC.

  • How i can save report updation on report builder 10g

    how i can save report updating on report builder 10g
    please help me
    any help will be appreciated

    See anwer in :
    why no body try to help me its possible no body has idea about how to save

  • Report Builder 10g does not start on Windows 7 (stays minimized)

    When i run the report builder 10g in my Windows 7 machine, the splash screen appears for some time and then it minimizes to the task bar. Thinking that it has loaded and gone to task bar, if i click the icon on task bar, it shows another splash screen and loads another copy of Report Builder, which also minimizes to same icon.
    On right-clicking the icon there is no maximize button. I tried running it as administrator and also fix the compatibility, but nothing worked.
    This issue starts only after some days of installing the developer 10g. It worked ok for some days and then it started behaving like this. Seen this twice now, both times on re-installing the developer suite the issue goes away.
    Is there any way to solve this other than re-install the Oracle Developer ?

    Hello,
    Did you check the files cagprefs.oar and cauprefs.ora ?
    Re: report builder
    regards

  • Report Builder 10g problem

    I already create my report by using report builder 10g then I run it and its ok after that I tried to make some modification on that report and I Compile it(ctrl+shift+k) and Generate it(ctrl+t) the I saved it as RDF file but when i run it the modification which i made it didn't show on the report i dont know why?
    any body has idea in this
    plz help me..
    Regards
    Rahma Al-Saadi

    Probably you might have old .rep file in your directory. You can create .rep file of you modified rdf file by opening it in builder and pressing Ctrl+T.
    This is a Forms forum , you can post in Reports for better replies.

  • Using DDE package in report builder 10g

    Hi,
    I use this code in form 10g to edit a ms word and its work properly:
    DECLARE
    APPID PLS_INTEGER;
    CONVID PLS_INTEGER;
    DOCID PLS_INTEGER;
    SYS_DATE CHAR(8);
    BEGIN
    SELECT TO_CHAR(SYSDATE,'MM/DD/YY') INTO SYS_DATE FROM DUAL;
    APPID := DDE.APP_BEGIN('C:\Program Files\Microsoft Office\Office12\WINWORD.EXE',
    DDE.APP_MODE_MINIMIZED);
    CONVID := DDE.INITIATE('WINWORD','SYSTEM');
    DDE.EXECUTE(CONVID,'[FileOpen "c:\bin_test\exp.dotx"]', 10000);
    DOCID := DDE.INITIATE('WINWORD','c:\bin_test\exp.dotx');
    DDE.POKE(DOCID,'BOOKMARK1', SYS_DATE,DDE.CF_TEXT,10000);
    DDE.EXECUTE(DOCID,'[FileSaveAs "c:\bin_test\output.doc"]', 10000);
    DDE.TERMINATE(CONVID);
    END;
    when I put this code in the afterreport trigger in report builder 10g and call the report from form;
    a blank document word is opened withoud any changes as well as the report result in pdf format.
    what can i do to let this code work in report builder??
    best regards,
    Ahmad

    I use this code in form 10g to edit a ms word and its work properlyI very much doubt that. Calling DDE from Forms this way would result in trying to open Word on the <b>server</b>.
    the report result in pdf formatThe report result format is determined by how it is called. Looks like you call it with desformat=pdf.

  • Generating .pdf file from Reports Builder 10g

    Hi,
    I made a report in Reports Builder 10g and every label and field I set, but when I print the report throw reports builder field are displaced randomly, i.e. they are not where I set them in paper layout. In print preview everything is OK, but when I print it everything(fields) is in the mess. Please help.

    APEX doesn't output PDF natively, so you have to use an external report server for this. There's a link on apex.oracle.com entitled PDF Printing that discusses the options.
    Tyler Muth
    http://tylermuth.wordpress.com
    [Applied Oracle Security: Developing Secure Database and Middleware Environments|http://sn.im/aos.book]

  • How to import java Classes in report Builder 10g

    How to import java Classes in report Builder 10g .....
    Arshad

    Hello,
    To import the Java classes:
    Add your jar in the REPORTS_CLASSPATH
    Launch Reports Builder.
    Note:
    You must launch Reports Builder now so that the new REPORTS_CLASSPATH is used.
    Choose Program > Import Java Classes to display the Import Java Classes dialog box.
    Regards

  • To Unable to Import Customize Java classes in Report Builder 10g

    Hi,
    In Report Builder 10g , I am trying to load image from Remote server
    URL:"http://imagecache5.art.com/p/LRG/15/1544/1ABDD00Z/muhammad-ali-vs-sonny-liston.jpg"
    Steps did in Report Builder 10g
    1.In Report Builder Created a Formula column with
    Datatype : Character
    Read from File: Yes
    File Format: Image
    In Formula columns trying to Unable to Import Customize Java classes.
    To read methods from Java classes.
    Please help on this.
    Ranga

    Hello,
    To import the Java classes:
    Add your jar in the REPORTS_CLASSPATH
    Launch Reports Builder.
    Note:
    You must launch Reports Builder now so that the new REPORTS_CLASSPATH is used.
    Choose Program > Import Java Classes to display the Import Java Classes dialog box.
    Regards

  • DDE in report builder 10g

    Hi,
    I use this code in form 10g to edit a ms word and its work properly:
    DECLARE
    APPID PLS_INTEGER;
    CONVID PLS_INTEGER;
    DOCID PLS_INTEGER;
    SYS_DATE CHAR(8);
    BEGIN
    SELECT TO_CHAR(SYSDATE,'MM/DD/YY') INTO SYS_DATE FROM DUAL;
    APPID := DDE.APP_BEGIN('C:\Program Files\Microsoft Office\Office12\WINWORD.EXE',
    DDE.APP_MODE_MINIMIZED);
    CONVID := DDE.INITIATE('WINWORD','SYSTEM');
    DDE.EXECUTE(CONVID,'[FileOpen "c:\bin_test\exp.dotx"]', 10000);
    DOCID := DDE.INITIATE('WINWORD','c:\bin_test\exp.dotx');
    DDE.POKE(DOCID,'BOOKMARK1', SYS_DATE,DDE.CF_TEXT,10000);
    DDE.EXECUTE(DOCID,'[FileSaveAs "c:\bin_test\output.doc"]', 10000);
    DDE.TERMINATE(CONVID);
    END;
    when I put this code in the afterreport trigger in report builder 10g and call the report;
    a blank document word is opened withoud any changes as well as the report result in pdf format.
    what can i do to let this code work in report builder??
    best regards,
    Ahmad

    By all means feel free to post your question as often as you like!
    In webforms DDE runs on the middle tier; it might do what you want against your local OC4J now, but it surely won't open a thing when you run it against an application server.
    Maybe you should enlighten us with your requirement, maybe there is a better solution for your problem.
    cheers

  • Reports Builder 10g hanging while printing

    Hi all,
    We have a printing issue with our Reports Builder 10g. When I run a report, select FILE and PRINT and click o.k, Reports Builder hangs where it trys to format page one. Any suggestions?
    Thanks,
    Mike

    Strange, my ReportBuilder works with File/Print but hangs when printing from the print icon.
    ReportBuilder is not a robust product. It hangs and crashes frequently. Little has been done to correct. Except for the auto-save/crash-recovery feature - that is a job saving addition to the product.
    That said, lots-o-features get added from one release to the next, but precious little attention seems to be given to improving stability.

  • Pdf file view in report builder 10g

    I store pdf file in database 10g using webutil_doc form ,now I need to view this file in report builder 10g is it possible

    By all means feel free to post your question as often as you like!
    In webforms DDE runs on the middle tier; it might do what you want against your local OC4J now, but it surely won't open a thing when you run it against an application server.
    Maybe you should enlighten us with your requirement, maybe there is a better solution for your problem.
    cheers

  • Reports Builder 10g

    Hi,
    I want examples of
    Before Parameter Form Report Trigger and After Parameter Form Report Trigger
    I am using Oracle Report Builder 10g
    can someone please help here..

    Check this link...
    1. Difference between After parameter Form Trigger and before Report Trigger
    2. http://docs.oracle.com/cd/E12839_01/bi.1111/b32122/orbr_multoc003.htm
    For more search in this forum and google.com
    Hope this helps
    Hamid
    If someone's response is helpful or correct, please mark it accordingly.*

  • Dynamic images in CF report builder 7

    Hi :-)
    Im pulling my hair out over an issue with cfreport builder 7
    and the abillity to dynamically display images.
    I can display images dynamicaly fine using this method:
    application.coverimage & "/" & query.image
    The problem is ive no idea how to say " if there is no image
    available then display noimage.jpg"
    ive played with the iif and fileexists functions but cant
    seem to get it to work within the report builder.
    If using cf report builder 8 the answer is simple, you can
    change an attribute of the image to say "on error do not display
    image" but i really need to do this with CF7.
    Can anyone help please? :-)

    I just found this solution and it helped me, and then I found a nice way to show your "noimage.jpg". You make a report function which sets a persistent variable containing the path to your image (I use the Request scope, so "Request.imagePath" for example). The variable is set to your "noimage.jpg" if it can't find the image path. You can pass parameters to the function from your query, if you wish. The function itself always returns "true". Call this function in the "Print when" property (remember, it's always true so it will always show), and the persistent variable is used as the image path. That way you can have your proper image or your default image show.
    I almost gave up on the CF Report Builder -- the report functions made it cool enough to keep using.

Maybe you are looking for

  • Can I tint a day a whole colour?

    I hve my calendar in month view, on the day today the box is tinted a very pale blue. I want to be able to tint, for example, a whole week my own colour to show that we're on holiday but I can't find anywhere I can do it. Is it possible? If not I mig

  • Extend Material to Different MRP Areas

    Hi Friends! I want to extend a material to different MRP areas. Is this possible using BAPI_MATERIAL_SAVEDATA? I couldn't find the MRP area field(should be an input table holding multiple records) in the BAPI to input for extending the material. Or i

  • What happens if a program contains un-necessary imports?

    Hi, If a program imports unnecessary classes/packages, will it effect the performance of the program? for example: import java.awt.*;                           // nothing to do with the classes of java.awt package class Test14      public static void

  • WiFi 802.1X Security

    Does anyone know when the Aironet access points will be able to use any nominated VLAN as the management VLAN instead of VLAN 1? Currently we have a successful dot1X (EAP-TLS) implementation running but I am a little concerned with having to use VLAN

  • Issue with GoogleApps calendar BIS sync.

    So i've started using google calandar on my google apps account for my school to manage my schedule. I would like to be able to wirelessly sync with my google calandar and my Blackberry 9930. I have the email account added under my BIS settings and e