Wrap report column header when using heading type : Column Names

The headers for my report is actual data from the database. In order to get it to work I'm using aliases on my columns that correspond to the header name that I want. However, I have been unable to get the headers to wrap. I have tried using <br> and chr(10) but it seems to be stripping them out since it's a column alias. Any ideas? Region source is listed below...r1.fc_desc is the column header that I need to have wrapped.
declare
v_sql varchar2(4000);
v_sql2 varchar2(4000);
cursor c1 is select distinct fc_code, fc_desc from
[email protected] where FG_ID=v('G_FINANCIAL_GROUP') order by fc_desc;
begin
for r1 in c1 loop
if v_sql is null then
v_sql:='select to_char(trans_week_end_thur,''mm/dd/yyyy'') as "Week Ending",sum(decode(fc_code,'''||r1.fc_code||''',payments,0)) as "'||r1.fc_desc||'"';
v_sql2:='select ''Average:'' as "WeekEnding", avg(sum(decode(fc_code,'''||r1.fc_code||''',payments,0))) as "'||r1.fc_desc||'"';
else v_sql:=v_sql||' ,sum(decode(fc_code,'''||r1.fc_code||''',payments,0)) as "'||r1.fc_desc||'"';
v_sql2:=v_sql2||' ,avg(sum(decode(fc_code,'''||r1.fc_code||''',payments,0))) as "'||r1.fc_desc||'"';
end if;
end loop;
if v_sql is null then
v_sql := 'select ''No records found for weekly analysis by insurance class for this financial group '' as " " from dual;';
else
v_sql:= v_sql||' from [email protected] where fg_id=:G_FINANCIAL_GROUP group by trans_week_end_thur';
v_sql2:=v_sql2||' from [email protected] where fg_id=:G_FINANCIAL_GROUP group by trans_week_end_thur;';
v_sql:=v_sql||' union '||v_sql2;
end if;
return v_sql;
end;

I've resorted to creating a separate function to return a colon-separated list of column names, in which you can include a br tag or whatever, until I get a chance to research this more thoroughly.
I thought it would just be a case of asking APEX not to strip the HTML, but it's clearly not as simple as that.
Regards,
John.

Similar Messages

  • Adobe flash CS6 crashes when using the type tool or Editing word all the time... please help!

    Adobe flash CS6 crashes when using the type tool or Editing word all the time... please help!

    Nobody can tell you anything without proper system info or other technical details. The standard answer with all text issues simply is, that you have a "bad font" on your system and need to get rid of it.
    Mylenium

  • Photoshop CS6 crashes all the time and especially when using the type tool... please help!

    Photoshop CS6 crashes all the time and especially when using the type tool... please help!

    Since I did not have this problem with CS5 or CS4, I can only assume something is not right with Photoshop CS6... below is my video card info:
    ATI Radeon HD 4850:
      Chipset Model:          ATI Radeon HD 4850
      Type:          GPU
      Bus:          PCIe
      PCIe Lane Width:          x16
      VRAM (Total):          512 MB
      Vendor:          ATI (0x1002)
      Device ID:          0x944a
      Revision ID:          0x0000
      ROM Revision:          113-B9110C-425
      EFI Driver Version:          01.00.383
      Displays:
    iMac:
      Resolution:          2560 x 1440
      Pixel Depth:          32-Bit Color (ARGB8888)
      Main Display:          Yes
      Mirror:          Off
      Online:          Yes
      Built-In:          Yes
      Connection Type:          DisplayPort
    Cinema HD:
      Resolution:          1920 x 1200
      Pixel Depth:          32-Bit Color (ARGB8888)
      Display Serial Number:          2A80273WXMN
      Mirror:          Off
      Online:          Yes
      Rotation:          Supported

  • Safari may unexpectedly quit when using flash type games that require farmville

    Safari may unexpectedly quit when using flash type games that require farmville

    Safari may unexpectedly quit when using flash type games that require farmville

  • Where does the date come from when using Tip type = dateFormat

    Hi,
    Can anyone tell me when using personilizations where the date that is shown comes from when using tip type = dateFormat? Today it shows (example: 24-Sep-2012) but yesterday it was the 23rd so seems to increment by one day. Is there a way to change the date shown here, to sysdate for example?
    Thanks

    Hi,
    You can check Inline Messaging, Tips, Hints and Bubble Text section in OA Framework Developer Guide
    Thanks,
    Jit

  • Form 11g - Is is possible to block specific forms access when user directly type form name in url ?

    Hi everyone,
    We have XXF000.fmb, XXF001.fmb , XXF002.fmb , XXF003.fmb in 6i.
    For migration to 11g , we recompile these forms and move fmx to 11g form server under form_path.
    In 6i , we login for validation & responsibilities control in XXF000, So we can use account info to verify if user have priviledge to access XXF001, XXF002 and XXF003.
    But in 11g , we can access these forms vial url request , such as : http://<host>:<port>/forms/frmservlet?form=XXF000   ; http://<host>:<port>/forms/frmservlet?form=XXF001  ... etc
    These may cause some unexpected access and operations in functions.
    Is is possible to block specific forms access when user directly type form name in url ?
    Thanks.
    Hendry

    You need to alter your formsweb.cfg file, either directly or through the Fusion web interface. You need to set the following parameters:
    #this sets the default form for your application
    form=yourmenuform.fmx
    #this stops these parameters being entered in the URL, seperate different parameters with commas
    restrictedURLparams=form,pageTitle,HTMLbodyAttrs,HTMLbeforeForm,HTMLafterForm,log

  • WRAP JTable Column Name into 2 lines

    I have a JTable with a long column Name. Can I wrap the Column Name into multiple (2) lines.

    baskaraninfo wrote:> set the following to a table column,<html><body>Employee<br>Name</body></html>>The break tag got lost cos you didnt use the code tags
    <html><body>Employee<br>Name</body></html>

  • Substitution string used in custom Report column name does not display in PDF version of report

    I am using Apex 4.2.6.00.03, Apex Listener 2 via Glassfish4 and have set up all my applications and reports on this system.  We previously used Oracle 10.2, with Apache with a custom fopping document.
    My issue is that I have a report that has custom column headings using a substitution string to pull in the begin or end date for the report.  When the report is run and displayed, the column headings appropriately display the date.  However, when I try to set up the Print to PDF option, the column headings are not displaying correctly.
    Is it possible to use a substitution string in the column heading?  I am able to use the substitution string in the Page Header and Page Footer and those display correctly.
    In the Report Attributes setup I have set the "Strip HTML" to Yes and I have four columns that are using the &"ITEM NAME". string.  See below for actual display:
    The report column headings in APEX displays correctly (bold is the substitution detail): 
    Fund    Account Description          Balance 07/01/2014     Budget/Goal FY 14-15     YTD Actual 02/28/2015         Ending Balance 02/28/2015
    In the Print Attributes setup, when I get to the Report Columns section, the Heading column displays the headings as set up in the Report Attributes custom and I am not able to edit these names.  See below:
    In the version of the report that is Printed to PDF I get the following for display:
    Fund           Account Description           Balance %26amp;P347_BEGIN_DATE.     Budget/Goal %26amp;P347_FY.     YTD Actual %26amp;P347_END_DATE.     Ending Balance %26amp;P347_END_DATE.
    Any assistance would be greatly appreciated.
    Thanks,
    Pat

    First, the misspelled word is a test object and not data.
    Second, all data display correctly.
    Third, text object is displaying the old misspelled word.
    Fourth, I have eliminated the possibility that problems in of my pdf export routine cause this issue by exporting directly from Crystal Reports Viewer. I print the report to the crystal report viewer. The report looks good. The text object is spelled correctly. Then I click the Crystal Reports viewer's export button in the left upper corner and I export to both EXCEL and PDF. The excel export looks good. The pdf export is misspelled. All the export occurs internally in Crystal reports.
    Fifth, I found outthat all users who have this problem have the ADOBE PDF writer installed. I am just suspicious that ADOBE writer is interferring with Crystal export
    Sixth, I cannot recreate this problem on any of our development and test machines. It only happens on end-user laptops.
    Seventh, I changed the name of the report that had this problem and created a new version and installed on end-user laptop. The behaviour still persists. User saved the report as both RPT and PDF. RPT export looks good. PDF version has the spelling problem. Data on both reports is up-to-date and good. I copied the same RPT export to my PC and exported it to PDF, the pdf looks good. That is why I think something on the end-users laptops is causing the export to use some cached template.
    One more thing I did was to change the report name in VB.NET project, recreated a new package and installed on end-user's laptop. The same exact problem is still there.
    I have worked with Crystal Reports more than 15 years and I have never such a weird behaviour before. I know this sounds very weird. We are all baffled by what is happening.

  • Bug Report: Images broke when using get_blob_file_src and not authenticated

    Hi,
    it looks like that images which are retrieved with a
    apex_util.get_blob_file
    call are broken when the user is not authenticated. If the generated image URL is directly called in the browser, it shows a 404 Not found error with a "Invalid Session" in the error log file on the Apache.
    The above image URL is generated when using the apex_util.get_blob_file_src function call. If the new IMAGE format mask (eg. in an IRR) is used it seems to be fine, because that generates a apex_util.get_blob call.
    Testcase:
    1) http://apex.oracle.com/pls/otn/f?p=17201:3 (That's the sample application with page set to "doesn't need authentication")
    -> Image column is broken
    2) Login with demo/patricks_demo_workspace
    3) Go again to page 3 (Products)
    -> Image column is displayed correctly
    Thanks for looking into that
    Patrick
    Oracle APEX Essentials: http://essentials.oracleapex.info/
    My Blog, APEX Builder Plugin, ApexLib Framework: http://www.oracleapex.info/

    Hi Scott,
    when I woke up today it also came into my mind that it may has something to do with the referenced P6_PRODUCT_IMAGE in the
    apex_util.get_blob_file_src('P6_PRODUCT_IMAGE',p.product_id)call which references a page item on a non-public page.
    I think apex_util.get_blob_file_src or better apex_util.get_blob_file shouldn't really care if the "definition" of how the BLOB looks like and where to read the information from is on a non-public page. Because it doesn't read or set actual data it just reads the definition, so it shouldn't be a security issue.
    Another question is, if it's so useful to reference a page item to get this BLOB information and not directly being able to specify this information as parameters in the apex_util.get_blob_file_src call. I think I also raised that during the 3.1 beta, because in case if you just want to display a BLOB you still have to create somewhere a page item of type "file browser" to being able to reference it in the get_blob_file_src call. Direct passing of the vales would also be more transparent and self documenting.
    BTW, the above code is an example of the "Sample Application" and wasn't made up by me, so probably a lot of people are using this technique to get rid of there own blob download procedures.
    Have a nice weekend
    Patrick
    Oracle APEX Essentials: [http://essentials.oracleapex.info/]
    My Blog, APEX Builder Plugin, ApexLib Framework: [http://www.oracleapex.info/]

  • Entire image turns black when using the type tool in Photoshop CC

    When I create a text layer, the whole image turns black.  If I enter the text blindly, I will see the expected results when I finish and click on another tool.  If I try to edit the text layer, everything turns black again.  I am not using the type mask tool.  I can select and move the layer and I can blend the layer; I just can't see what I am typing.
    Using Windows 8

    I had the same problem and the update of the video card driver did not help - only after changing the settings in photoshop under "Preferences >> Performance >> Advanced settings >> Basic" the problem was solved

  • Error when using composite type

    HI i am getting following error when my plsql procedure uses composite type.
    ORA-06530: Reference to uninitialized composite ORA-06512: at "PRODMSTR.PKG_BULKLOAD", line 65
      PROCEDURE insertData(pd_rec temp_product_details%ROWTYPE)
        IS
        v_pdid product_details.pd_id%TYPE;
        v_pdesc product_details.pd_desc%TYPE;
        v_phid product_details.ph_id%TYPE;
        v_rpdid product_details.pd_id%TYPE;
        v_catid lkp_category.category_id%TYPE;
        v_lfid lkp_life_cycle.life_cycle_id%TYPE;
        v_ptid lkp_product_type.pt_id%TYPE;
        v_tpvid lkp_third_party_vendor.tpv_id%TYPE;
        v_product_details product_details_type;
        v_product_market product_market_array;
        v_product_data_type product_data_type;
        out_par sys_refcursor;
        BEGIN
            IF(TRIM(pd_rec.product_id)IS NOT NULL) THEN
             v_product_details.product_id:= TO_NUMBER(pd_rec.product_id);
            ELSE
                 v_product_details.product_id:=0;
            END IF;Here is the part of the code. The error occurs in line:
    v_product_details.product_id:= TO_NUMBER(pd_rec.product_id);
    Can anyone tell me why i am getting this?
    Thanks a lot guys.

    Hi,
    This could be due to the reason that the variable v_product_details is not initialized. It should be done by the constructor as product_details_type(NULL, NULL,...)
    Please check .
    Regards
    K.Rajkumar

  • Retro entires in HR Forms are not printed when using device type ZHPP3005

    Hi All,
    We are doing a HCM implementation. We are using HP P3005n printer and ZHPP3005 device type to print our HR forms. We are using ZCalibri font.These are smartforms. Everything was printing perfectly.
    Then there were retro calculations made to these forms.Strangely, the forms doesn't display these retro entries in the print preview using ZHPP3005 device type. Only the retro entries throughout the form are not printing. All other entries get printed.
    When we use device type HPLJIIID, we get these retro entries printed in our form however the format of the form gets changed.
    Now, we want to use device type ZHPP3005 and get these retro entries printed. How would we achieve this? Is this a device type issue? Or, anything needs to be done in the smartform? Why is this issue?
    Please help. Quick response will be appreciated. We are nearing our Go Live date and needs this resolved immediately.
    Thanks in Advance.

    Hi,
    Check the assigned page format to your custom device type. Try to assign all the page format which are available for
    HP*** which you gives you desired result.
    Regards,
    Vamshi.

  • How to assign permissions to choice values when using content types in a library

    Hi,
    I just now started using content types in document libraries instead of folder structure.  The structure I was given is as follows:
    Master group (library name)
    L.A.
      South Street
           Number 1
           Number 2
      North Street
           Number 1
           Number 2
    Boston
      West Street
           Number 1
           Number 2
    East street
           Number 1
           Number 2
    India
      North Street
           Number 1
           Number 2
      West Street
           Number 1
           Number 2
    So, I created a Content Type called Areas (which included LA, Boston, and India) and I created choice field values for each columns (South street and North street).  Then, I gave the choice values as Number 1 and Number 2.
    Now, the complexity was in terms of permission levels, wherein the client was accustomed to using folder structure.  And hence, they had given a set to users to have access only to Number 1 of West street of Boston.  Now that I have the content
    type structure in place, how do I configure the granular permission for the 3rd level of the hierarchy?
    Shonilchi..

    Thanks for your post. I had already done this via Windows Explorer, and it works for all of the My Docs files
    but not Acrobat files, which still come up in List View. I am running Windows XP still, is that a factor?

  • Error when using Movement type 561 both in MIGO and MB1C

    I am getting the following error when performing movement type 561
    Check table 003M: entry DB   does not exist
    I am using IDES system and learning SAP MM my self... i googled ans searched for this error and couldnt find a solution so please help me..

    Hi,
    WE document type not set for new company code, you are using.
    Set for WE document type for accounting document
    Again Use t.code: OMBA
    Click u201CFinancial Accounting Number Rangeu201D & enter company code u2026.and click change interval. Now in next screen, click u201Cinsert intervalu201D
    & then enter
    u2026u2026u2026Number range numberu2026Year u2026u2026u2026......From Number .............................To Number.
    (For example)-----502011--
    5000000000u2026u2026u2026u2026u2026u2026u2026u2026. 5099999999
    And save.
    Again use t.code: OMBA
    Click u201CFinancial Accounting Document typesu201D & next screen double click u201CWEu201D and you will have new screen and enter Number range u201C50u201D and save.
    Now use t.code: OMBA
    Click u201CGoods Receipt Document Typeu201D
    Next screen assign u201CWEu201D document type to MIGO_GR t.code and save.
    Regards,
    Biju K

  • Label in PDF Report cut off when using font aliasing (9i2)

    Hello.
    I have a report and one label on the report that is a bit longer than the rest.
    This label is displayed correctly in the reports builder, in the HTML report and as PDF when font aliasing is off.
    But if the PDF report is generated when font aliasing is used - the label is cut off.
    The label is displayed up to the point where it would finish without font-aliasing. (the alias font is a bit broader)
    The field spans the whole page in the paper layout, and every char-width value I use has width 1000, so I'd guess that ain't the problem (also since the non-aliased is displayed correctly) (Btw, the string is 84 byte long)
    The pdf is generated via a url like:
    http://server:8888/reports/rwservlet?report='timereport.rdf'&userid=xx/yy@mydb&destype=CACHE&desformat=PDF&<...paramters...>&filename=/TR_20050703_1300_20050711_0500.pdf
    Any ideas?
    best regards,
    Martin
    Version Info:
    Report Builder 9.0.2.0.3
    ORACLE Server Release 9.0.1.3.1
    Oracle Procedure Builder 9.0.2.0.7
    Oracle ORACLE PL/SQL V9.0.1.3.0 - Production
    Oracle CORE     9.0.1.2.0     Production
    Oracle Tools Integration Services 9.0.2.0.0
    Oracle Tools Common Area 9.0.1.0.0
    Oracle Toolkit 2 für Windows 32-Bit-Plattformen 9.0.4.0.23
    Resource Object Store 9.0.1.0.1
    Oracle Help 9.0.4.0.23
    Oracle Sqlmgr 9.0.2.0.2
    Oracle Query Builder 9.0.2.0.0 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 9.0.2.0.2
    Oracle XDK Java 9.0.2.0.0 Production
    Oracle Virtual Graphics System 9.0.1.5.0
    Oracle Image 9.0.4.0.9
    Oracle Multimedia Widget 9.0.4.0.9
    Oracle Tools GUI Utilities 9.0.4.0.9

    Hi Scot
    Just replied to your email re. conf call.
    In the meantime.
    1st question.  
        Some of our developers are creating the reports under crystal 2008, while some are 2011.
        Could this be a problem, when they are run by the SDK?
        Should we upgrade all our developers to crystal 2011?
    The version of CR a report is created in should not matter at all. I am 100% certain this is not the issue.
    2nd question
        When the report is run, to create the pdf... why would it actually embed the font on the pdf?
        if they weren't embedded.. wouldn't it just pull up the proper font, if the user's pc had that font on their
        pc?
        if it does the common fonts aren't embedded, we would just have to worry about the things like
        barcode 3 of 9
    I can not answer this as that essentially is the way the product is designed. It may look like a limitation, but there are no work-arounds and I would not consider this to be a bug. Perhaps an enhancement, but a pretty faint hope there. And even if, enhancements take very, very low priority and take long, long time before implementation.
    3rd question
        Would the fonts, just need to be installed on the server?   we've seen some indication, that they
        also need to be in a java sub-directory
    The fonts must be on the server as that is where the report engine does it's work, then the report is streamed to the user's browser. E.g.; there is no work done on the browser. Also, the process must have rights to access the fonts.
    One last point. You mention deployment to Linux. Linux is not supported. Please see: SAP Crystal Reports, Developer Version for Microsoft Visual Studio - Supported Platforms
    I suspect this is more an issue with CR not working with the framework for Linux.
    - Ludek

Maybe you are looking for

  • Installation problem on SLES9

    Dear all I tried to install Tarantella Secure Global Desktop 4.1. I followed the instructions in the installation guide and the installation finished successfully, however I cannot start any of the default applichation (e.g. Object manager) I always

  • Filtering responses (and other questions)

    Hi there, I've created a form for a client, who wants to have a questionnaire that they can then track the responses to. They have a few things they want to be able to do, and I wondered if you could help me find out if these things are possible? 1.

  • Trying to download itunes keep getting error message 2, any suggestions?

    trying to download itunes keep getting error message 2, any suggestions?

  • Traditional Big 5 Chinese in Postscript Type1/3 format

    Hi I'm trying to acquire some Traditional Big 5 Chinese (zh_TW.BIG5) fonts that are in PS Type1 or Type 3 format. The Solaris 7 installation CD contains these types of fonts for Simplified Chinese but they don't have it for Traditional. I've checked

  • @relative acting strange in business rule

    We have a planning form that is supposed to run a business rule when we hit 'save'. we have the following code inside the business rule: FIX (&ThisYear, "Forecast", [<GV1>], @RELATIVE([<GV2>],0) GV1 and GV2 are global variables referring to dimension