Urgent request - TEXT_IO package

Hi people,
I'm in the process of converting one of my client's corporate reports to an Excel
format, using the "TEXT_IO" package. The client requires his logo to appear in the
Excel file (for a purely aesthetic purpose).
I've tried - to no avail, might I add - to embed/insert the company's corporate
logo into the generated Excel file. This logo is stored as a LONG RAW datatype in
the associated JCG_EXCEL_DATA table.
Whenever I attempt to embed this logo, using the "Text_IO.Putf" built-in, Excel
displays it as "Bit!+".
Do you perhaps know of a way to do this?
Here's an example of the statement used:
"Text_IO.Putf(out_file, chr(9) || :image_file);"
Thanks and regards,
Johann.

Do you know the format of the file? If you've used Oracle*Forms to upload the file to the database then format may not be one recognised by Excel. You could check by saving the file to the filesystem and making sure you can insert it into Excel manually.

Similar Messages

  • Urgent: Does dbms_java package is required  to load jar file into database?

    Hi, It's a urgent request. I am trying to install jar file that was created by JDeveloper into database using loadjava. But it is giving so many errors.
    Do we need to install dbms_java package in order to load jar files into the database? Thanks.

    Thanks for your reply Kamal.
    I am trying to load these jar files into Oracle 9.2.0.3.20 database.
    Could you please give me the list of the steps to enable java within the database? Thanks.

  • Create a file using text_io package

    Hi my friends,
    I would like to direct the output from my Reports to a file.
    I was searching in Oracle Forum and I found:
    1.in the before report trigger open a file(.txt file) for write mode using text_io.fopen. You can specify the file name with whatever path u want.
    2.Whatever fields from the report you want to redirect to the this file, go to the repeating frame of that field and use text_io.put or put_line.
    How to I could do this?????
    3.Finally , maybe in the after report or whereever close the file you opened using text_io.close.
    Someone, could give more information about this?
    Thanks...
    Carla

    Hi Carla
    What I understand from your words is that you want to write out a file based on your query in the report using the text_io package.
    You could be doing this in the Format Trigger of the appropriate Repeating Frame.
    You could also be using Delimited output and choose an appropriate delimiter character.
    With Reports 9i, you could be doing File I/O operations using Java calls by importing a Java class.
    Hope this helps.
    Regards
    Sripathy

  • TEXT_IO package...

    Is there any restriction on the length of record that can be read from text file using text_io package. I want to read a text file that has number of records with length upto 20000 char. I'm putting this data into a table which has 4 columns of varchar2(4000).
    will this work properly?
    thanks much
    ---himanshu

    Check each line of the file for a ','. The heading line will not
    have any. Only insert data from lines that contain a ','.

  • Finding EOF using TEXT_IO package

    Hi everybody,
    I use TEXT_IO package and read all lines of a text file....
    How can the logic of the routine i write come out of the loop when the file ends..(EOF=TRUE).
    Thanks ,
    Simon

    The TEXT_IO raise a NO_DATA_FOUND when the EOF is reached.
    Francois

  • Windows 8 Remote Desktop Error "The Requested Security Package Does Not Exist"

    When my remote host (win server 2008 R2) is configured to use SSL for security layer, RDP from my Windows 8 gets  
    "An authentication error has occurred. The requested security package does not exit."
    When the host is set to use RDP security layer, it works fine. 
    Registry key solution for Win7 suggested on other posts does not seem to apply to win8.
    This is a Lenovo desktop, I uninstalled silverlight and bunch of other OEM installed programs.

    This fixed my problem in Windows 8 while connecting to a Windows 7 host.  I needed the pku2u entry.  I decided to look it up and here's the info for anyone that's interested.
    Introducing PKU2U in Windows
    Applies To: Windows 7, Windows Server 2008 R2
    This product evaluation topic for the IT professional describes the Public Key Cryptography Based User-to-User (PKU2U) security support provider (SSP) that is new in Windows 7 and Windows Server 2008 R2.
    PKU2U protocol
    The PKU2U protocol in Windows 7 and Windows Server 2008 R2 is implemented as an SSP. The SSP enables peer-to-peer authentication, particularly through the Windows 7 media and file sharing feature called Homegroup, which permits sharing
    between computers that are not members of a domain.
    How PKU2U works
    Windows 7 and Windows Server 2008 R2 introduce an extension to the Negotiate authentication package, Spnego.dll. In previous versions of Windows, Negotiate decides whether to use Kerberos or NTLM for authentication. The extension SSP for Negotiate,
    Negoexts, which is treated as an authentication protocol by Windows, supports Microsoft SSPs including PKU2U. You can also develop or add other SSPs.
    When computers are configured to accept authentication requests by using online IDs, Negoexts.dll calls the PKU2U SSP on the computer that is used to log on. The PKU2U SSP obtains a local certificate and exchanges the policy between the peer computers. When
    validated on the peer computer, the certificate within the metadata is sent to the logon peer for validation and associates the user's certificate to a security token and the logon process completes.
    For more information about developing SSPs, see
    Custom Security Packages in the MSDN Library.
    For more information about the Negotiate extensions (Negoexts), see
    Introducing Extensions to the Negotiate Authentication Package.

  • Doubt regarding TEXT_IO package ???

    Hi,
    I recently came to know that TEXT_IO package can only be used in two tier architecture and cannot be provided in three tier architecture, is it true? and if yes why is it so? and is there any other alternative to get things done by three tier architecture???
    cheere...

    TEXT_IO package can only be used in two tier architecture and cannot be provided in three tier architecture, is it true?FALSE, if this means that TEXT_IO does not work in three tier architecture. TRUE, if this means that TEXT_IO can't read files from Client machine.
    See an extract from an Oracle article :
    Take the Forms TEXT_IO package. This package provides the programmer with facilities to read and write text files on the Application Server. WebUtil provides an alternative implementation CLIENT_TEXT_IO, which is identical to TEXT_IO except that calls are implemented on the client browser machine rather than on the middle tier.

  • Where is the text stored when we create a discussion under Urgent Requests?

    Hello,
    Under the Urgent Requests when we create the discussions
    where is the text stored. Under which folder is the text stored? I would like to modify the text. Can anyone help me?
    Thnx in advance.

    hi murali,
    actually discussions are of two types in portal...one you start at any folder or document level and second is you start under ur HOME role in discussion .
    First type of discussion is stored in /collaboration repository and second type of discussion is stored in /discussiongroup repository.   you can find these repository in   content admin -> km content
    hope this will help you.

  • Embedding images using the TEXT_IO package

    Good morning people,
    I'm in the process of converting one of my client's corporate reports to an Excel format, using the "TEXT_IO" package. The client requires his logo to appear in the Excel file (for a purely aesthetic purpose).
    I've tried - to no avail, might I add - to embed/insert the company's corporate logo into the generated Excel file. This logo is stored as a LONG RAW datatype in the associated JCG_EXCEL_DATA table.
    Whenever I attempt to embed this logo, using the "Text_IO.Putf" built-in, Excel displays it as "Bit!+".
    Do you perhaps know of a way to do this?
    Here's an example of the statement used:
    "Text_IO.Putf(out_file, chr(9) || :image_file);"
    Thanks and regards,
    Johann.

    Hi,
    It will not be possible to do it as it doesn't recognize it as an image.
    What about going for a delimiteddata output having the header with the logo.
    Please see the 6i patch 11 release notes on OTN documentation for Reports
    Thanks
    The Oracle Reports team

  • Urgent Request: Help With Websheet Issues

    Hello.
    This is an urgent request for help. I am currently developing a websheet demo and have run into several puzzling issues.
    I am using APEX 4.0.1. My organization will upgrade to 4.0.2 in several months.
    Issue 1:
    I am trying to create a file annotation to be associated with several rows in a data grid I created. When I browse to the .xls file to be uploaded and then click "Apply", a stripped wait bar appears indicating that the file is being uploaded. Or so I thought. Instead, that stripped bar sits there FOREVER. After 30 minutes waiting for a very simple two-row .xls file (first row is the column headers followed by a row of data - simple integers), I finally clicked the "Cancel" button. The file was not uploaded.
    I have repeated this several times, and even closed/re-opened my browser. Same results. Even tried a simple .txt file. Still no good.
    I am running IE 8.x I even tried the same thing in FireFox 3.6.1. Same behavior.
    Issue 2:
    I also created a Note annotation. After entering some simple text (about 10 words) and clicking the "Apply" button, the page displays the following error:
    Sun, 2 Jan 2011 22:18:44 GMT wwv_flow.show: SIGNATURE (parameter names) MISMATCH VARIABLES IN FORM NOT IN PROCEDURE: F21,F22,F23,F24,F25,F26,F27,F28,F29,F30,F31,F32,F33,F34,F35,F36,F37,F38,F39,F40,F41,F42,F43,F44,F45,F46,F47,F48,F49,F50,F51,F52,F53 NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
    I then click the previous breadcrumb link which take me back to my data grid I then click the pencil "Edit" icon for the row for which this Note is associated and, to my surprise, the Note with my entered text is there. APEX did, in fact, create it. However, not without displaying this error message which I'm sure would be rather intimidating to our end users trying to do this. this same behavior occurs when trying to modify an already existing Note. I receive the same message. However, the modifications were enacted.
    As with Issue 1, this same behavior is seen with FireFox as well.
    Issue 3:
    After saving my Data Grid as an "Alternative Default Report", I see the Note annotation I created associated with the report row. However, when I hover my mouse on the Note icon, all that displays is the first 4 words or so, about 15 characters, followed by a 3-dot ellipsis. The remaining 10+ characaters are hidden. What good is that?
    Is there aimit to the number of characaters that can be placed in a Note Annotation? I have not seen this characater limit mentioned anywhere in the online APEX docs. I realize that I probably would not want a PhD disseration placed in a Note, but just 30 or so characaters? That seems awfully skimmpy.
    As before, I'm seeing this same strange behavior in FireFox 3.6.1 as with IE 8.x
    Issue 4:
    When editing text in a Section, I attempt to re-size the text with a larger font size (say, from 10 to 14). I click the "Apply" button, but the resulting text stays the same size. I am unable to re-size the font in a section.
    Even more puzzling is that the OBE "Building a Websheet In APEX 4.0" example application (http://st-curriculum.oracle.com/obe/db/apex/r40/websheets/websheets_ll.htm) which takes me step-by-step in creating a websheet app shows that one can do all of the things mentioned in the above three issues. So, then, how is this tutorial able to do all these things but I am not?
    Are these issues fixed in the 4.0.2 patch? I checked the online list of bug fixes for this patch and, although several do relate to websheets, none address the above three issues.
    As mentioned, I am trying to prepare for this websheet demo and would really appreciate some quick advice or suggestions.
    Thank you in advance.
    Elie
    Edited by: EEG on Jan 2, 2011 3:31 PM

    Hi, Christina.
    Thanks very much for the info about why we are seeing multiple APEX$ tables sprinkled amongst multiple schemas. I've passed this info to our APEX administrator.
    Also, thanks for confirming what I suspected was a bug in the rich text editor. Hopefully this will be addressed soon.
    I do understand your comment about not being able to stylize the Title text. Still, I am wondering why I do NOT see the HTML code in my own environment here at work. Yet on apex.oracle.com I see the code. This is why I made the comment in my last post. Seeing this code where there shouldn't be any code surprised me. So, why is this code not showing up for me here?
    With respect to my file upload issue, as mentioned in my original post, I am NOT able to upload a quite simple .xls file as a file annotation to be associated with a row in a data grid I had created. However, I AM able to upload this exact same .xls file to a section on a page without problem.
    In my websheet app on apex.oracle.com, navigate to Data -> Data Grids, click on the data grid "MAD Data Upload", select the report "2. Symbols Report with Annotations", click the pencil icon next to (I believe) the 2nd row which currentl displays a link, a note, and several tags. Then attempt to upload a simple .xls Excel file. The one I tried has 2 rows, a header row with 5 column headers, and a 2nd row with integer values for those 5 columns. That's it. After browsing to my file and clicking the "Apply" button, I get a stripped progress bar that sits there FOREVER. After about 10 minutes I gave up waiting. I figured that, even over the web, a simple two row Excel file should have been uploaded after ten minutes. My connection is pretty fast. I get no errors. Also there is no file.
    One more thing ... Remember my Issue 2 in which I was attempting to modify a previously created Note annotation and received a weird error (see my original post above)? Well, I attempted to do this on apex.oracle.com.
    In the same Data Grid row that you navigated to above, scroll to the very bottom and you will see my single Note Annotation. I attempted to modify this. I clicked the "Edit" link, typed in my changes, and clicked "Apply". This time, instead of receiving that weird error message, I received a more intelligent (though still weird) error message:
    Not Found
    Sorry!The page requested was not found.
    And, just as with the truly weird message I would consistently receive in my own environment here at work, the text changes I had made to the Note were, in fact, preserved because when I re-look at my Note Annotation in the Data Grid, the Note does show the changes I had made.
    Needless to emphasize, these errors would likely freak out end users who are adding Note Annotations to a Data Grid they had created. After all, these are the intended audience of a websheet app not a developer like me who is used to seeing such weird messages.
    Would you know what all this about?
    Thanks again for all your patience and sticking with me on this.
    Elie

  • Urgent: Assign new package to a form

    Hi everyone.
    I happened to assign a sapscript form to a wrong package. I deleted the form then afterwards I can no longer create it under the right package.
    Aside from just creating it using a new name, what options do i still have if i don't want to change name?
    I cannot find the form in se80.
    Thanks!

    Hi,
    Go to se10 and then create a new request there.
    Under that request..
    double click on the request..
    go to objexts tab..
    go to change mode and then add the following..
    short description: SAPscript form
    program: R3TR     
    object: FORM     
    object name: Form Name <ZDAR_TEST_2>
    This will cretae a new request for ur sapscript...
    This will help u..
    Cheers,
    SImha.
    <b>Reward if it is helpful..</b>

  • Content Location request for PACKAGE failed (Code 0x80040102) - How to determine list of DP's returned from the MP

    Hi there
    So, existing SCCM 2012 environment, OSD functioning at other sites, been in use for a while.
    New location, new DP.  PXE boot system, choose the task sequence, and I get the error that the package is not found.
    Look at the SMSTS.log and sure enough I see the 0x80040102 error.  
    I have :
    Removed the offending package and redistributed it.  Verified it is present on the server.
    Verified the boundary has the server as a site system.
    Verified the boundaries have the correct IP range, and the correct Site.
    I have tried it with just a Site boundary and just a IP Range boundary.
    Created a copy of my TS, removed the offending package, deployed.  Same error, just with a different package ID (which tells me that it isn't the package, it is something on the server DP itself).
    Rebooted both the Site server and the DP.
    I'm kind of at a loss, as I would expect to see the DP show up in the below log as a DP, but I don't see it.  It looks like it gets policy, and it shows under the content location request Local: 1 (which I believe says it sees 1 local content location),
    but further below in the log it says Processing 0 Locations.
    Very confused.
    Thanks for any help...
    Content location request: TSPxe
    8/26/2014 10:48:46 AM 1584 (0x0630)
      Package : packageid.3 TSPxe
    8/26/2014 10:48:46 AM 1584 (0x0630)
      Client  : c713c862-e9be-4f67-a6d3-f164e05c29a2
    TSPxe 8/26/2014 10:48:46 AM
    1584 (0x0630)
      Local   : 1 TSPxe
    8/26/2014 10:48:46 AM 1584 (0x0630)
      Remote  : 0 TSPxe
    8/26/2014 10:48:46 AM 1584 (0x0630)
      Internet: 0 TSPxe
    8/26/2014 10:48:46 AM 1584 (0x0630)
    Sending RequestContentLocations for packageid
    TSPxe 8/26/2014 10:48:46 AM
    1584 (0x0630)
    Setting message signatures. TSPxe
    8/26/2014 10:48:46 AM 1584 (0x0630)
    Setting the authenticator. TSPxe
    8/26/2014 10:48:46 AM 1584 (0x0630)
    CLibSMSMessageWinHttpTransport::Send: URL: siteserver.domain.local:80  CCM_POST /ccm_system/request
    TSPxe 8/26/2014 10:48:46 AM
    1584 (0x0630)
    Request was succesful. TSPxe
    8/26/2014 10:48:47 AM 1584 (0x0630)
    ::DecompressBuffer(65536) TSPxe
    8/26/2014 10:48:47 AM 1584 (0x0630)
    Decompression (zlib) succeeded: original size 99, uncompressed size 178.
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    Location Reply: <ContentLocationReply SchemaVersion="1.00"><ContentInfo/><Sites/></ContentLocationReply>
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    Processing 0 locations. TSPxe
    8/26/2014 10:48:47 AM 1584 (0x0630)
    LocationsList.size() > 0, HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,2142)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    FALSE, HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,1863)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    Content location request for packageid:3 failed. (Code 0x80040102)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    hr, HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,2626)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    Failed to resolve PackageID= TSPxe
    8/26/2014 10:48:47 AM 1584 (0x0630)
    (*iTSReference)->Resolve( pTSPolicyManager, dwResolveFlags ), HRESULT=80040102 (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,3412)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    m_pSelectedTaskSequence->Resolve( m_pPolicyManager, TS::Policy::TaskSequence::ResolvePolicy | TS::Policy::TaskSequence::ResolveSource, fpCallbackProc, pv, hCancelEvent), HRESULT=80040102 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1523)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    Failed to resolve selected task sequence dependencies. Code(0x80040102)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    hrReturn, HRESULT=80040102 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediaresolveprogresspage.cpp,445)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    ThreadToResolveAndExecuteTaskSequence failed. Code(0x80040102)
    TSPxe 8/26/2014 10:48:47 AM
    1584 (0x0630)
    ThreadToResolveAndExecuteTaskSequence returned code 0x80040102
    TSPxe 8/26/2014 10:48:47 AM
    892 (0x037C)
    Setting wizard error: This task sequence cannot be run because the program files for packageid cannot be located on a distribution point. For more information, contact your system administrator or helpdesk operator.
    TSPxe 8/26/2014 10:48:47 AM
    892 (0x037C)

    It was not just driver packages, it was whatever package was next in line in the Task Sequence.
    The issue got even more strange...I added a DP from my central location to the boundary group of the site that was failing.
    Now it pulls from the local DP.
    If I remove the DP from my central location (that is not local to the failing site), then it stops working again.

  • Questio about TEXT_IO package

    dear friends
    I've created a procedure that copy the data from database like this:
    PROCEDURE P_LOAD2TEXT(P_STOCK GN_STOCKS.STOCK_CODE%TYPE)
    IS
    CURSOR DAILY_TRADE_CUR IS
    SELECT TO_CHAR(THE_TIME,'HH24:MI:SS') TRADE_TIME,PRICE,QTY
    FROM LV_DAILY_TRADES
    WHERE STOCK_CODE = P_STOCK;
         vFILE           TEXT_IO.FILE_TYPE;
         vFILENAME      VARCHAR2(255);
    BEGIN
              Vfilename := 'X:\SE\chart\intraday_ascii\'||:trade.stock_code||'.txt';
              vFILE := TEXT_IO.FOPEN(vFILENAME ,'W');
              FOR I IN DAILY_TRADE_CUR LOOP
              TEXT_IO.PUT_LINE(vFILE,I.TRADE_TIME||','||I.PRICE||','||I.QTY);          
              END LOOP;
              TEXT_IO.FCLOSE(vFILE);
    END;
    the procedure works fine .
    But i need to validated first if the file exists, delete this file first.
    my question is
    Is it possible to delete file from hard disk from within form builder?
    I can tried to make a batch file that clears all files with in the folder but the problem is the the command prompt window is displyed and asking me the following question
    x:\del*.*
    x:\*.*, are you sure(Y,N)
    and i must press Y to delete the files
    my knowedge in making batch file is limited and i do not know how to pass 'Y' to the command prompt.
    please help

    There are two choices:
    - Add the /q switch to the del command, i.e. del *.* /q
    Or use the delete_file procedure from the win_api_utility package available from the d2kwutil library (if using Forms 6i).
    Be carefull howver when using the del *.* to make sure you are in the proper folder.

  • How & Where Assign & Pass Request in package application

    hi friends,
    i am using package application to learn more about apex.here i have face some problems ,
    On page no 1, there are an intractive report,but it shows only Customer Name, Referencable, Users, Summary, Web Site, Category ,Status column in intractive report but there are more column in Report Attributes ,
    Plese tell me how does developer hide the unnessary column in intractive report on page no 1.
    2nd Problem is,
    i am not getting how & where developer assign & pass request LAST_PAGE_VISITED .Developer create an processes name Load Data on page no 1
    if :REQUEST = 'REPORTS' then
    :LAST_PAGE_VISITED := 20;
    else
    :LAST_PAGE_VISITED := 30 ;
    end if;
    i am not getting the meaning of this code and where developer pass and assign this Request.
    What are the role of this code.
    My Login Details
    Workspace-->customertraker
    username-->[email protected]
    password-->piwufo
    Application --> 2923
    Thanks
    Manoj

    i just need to have my message be dynamic. However, i am not using validation.xml.
    i can either use
    in My actionClass.java, i am using
    }ResourceBundle res = ResourceBundle.getBundle("struts/resource/MessageResource");
                                                     res.get("message.notify")     
                      //Is it possible to set the value of {0} from here on my resource.properties?
               or in my JSP
      <fmt:message key="message.notify"/>Thank you

  • Request: Novell Packages

    I've had a hankering to install the Novell Client for Linux (http://www.novell.com/products/clients/ … rview.html) and Novell Groupwise Client (I'm having trouble finding the website).
    Novell packages the software specifically for SUSE Linux, in a RPM-based format (I think).  It's all precompiled; I don't know of any source code being available.
    Novell does require registration to download the packages, so I will send the packages to anyone who requests them,  Just PM me.
    These are two very nice packages, and would be welcomed by anyone using Arch on a large network.

    Looks like license problems with the novell client
    Novell Site wrote:Note:The Novell Client for Linux is currently an add-on feature to Novell Linux Desktop. In the future, it will ship with the desktop. Novell Linux Desktop users and Open Enterprise Server users are entitled to the Novell Client for Linux.

Maybe you are looking for

  • Is this a bug or a feature in JDeveloper 11.1.1.4?

    Hello everybody, when I try to create a new "Reusable Process" with the composite editor in Jdeveloper, nothing happens on in the composite design view! I can see the process in the file structure and I can also edit the process in the bpm editor, bu

  • Workflow not routing to agent specified in partner profile

    have included below notes regarding the mis-routing of workflow messages of "translation error" STATUS message idocs that are uploaded into R/3. The testing that I have been performing has been in Development System. The first thing that I check is t

  • Configure home page to index.php not index.html

    Does anyone know how to get contribute to look for an index.php page instead of the index.html page upon connection?  I get an Object not Found ( it's looking for and index.html page that does not exist ). Thank, D

  • After Effects CS3 - error: could not create 8935 x 9152 image buffer + slow

    Hello. I am receiving this error message every time i try render my 3min composition. it gets about 1/5 way through which takes about an hour. i have read the General Specialist troubleshooting guide and it has not helped yet. i am now rendering with

  • H.264 codec not working with Pre Elements 8 demo

    I downloaded premiere elements 8 and even installed the upgrade (30 day demo) and I can't open video files taken with my canon 7d camera.  I have found a conversion tool to change my mov to avi but thats extra time that I dont want to spend. From wha