Export result of an execute_query to a file ( txt , EXCEL , etc..)

i work with Forms6i, and i want to export the result of an execute_query to file with any extention.
the execute_query is applicated to a block after pressing button Execute.
thanks in advance

Hi,
check out TEXT_IO package on Forms' Help...it should be what you are looking for.
Bye, Marco

Similar Messages

  • Opening MS Office files (Word, Excel etc) in Mail on iPad

    Have a new iPad so please forgive me if I ask the obvious ...
    Most my clients are on MS Office so when I get an email with a Word or Excel file, it's a problem as the iPad transfers it into a winmail.dat file which I can't open.  I've downloaded the following Apps in the hope it would help but, it doesn't.
    Downloaded so far: Keynote, Pages, Documents 2, PDFReaderLite, File Viewer and DocsToGo.
    Help!

    I should further say the files I sent are .xlsx and .docx files.  They look fine my end and I send such files all the time without problems.
    However, I did try to cheat by going in via the Safari onto my 'live' online email account and the Safari automatically transfers them to winmail.dat files with the same result.
    Ahh - have just been on using my PC this time and you are right, it seems that the service provider does the transfer and then when my outlook opens the file (on the PC), it must reconvert to .xlsx etc again.
    Very strange.
    Ergo, I guess the question should be how I open wimail.dat files ??

  • Convert powerpoint slide with embedded file (word, excel, etc) to pdf

    Hi all,
    I have a word document or excel spreadsheet that I added as an object into the power point slide.
    How can i convert powerpoint slide to PDF but still able to open the file when i click file icon.
    So far the result I have once the slide is in PDF, I can't no longer click the file to open it.
    Thank you.

    Hi Joel,
    The feature you are looking for, is currently not available in Acrobat.
    But you can create an interactive link (to open Word/Excel) using Acrobat. Please look at the following link:
    http://acrobatusers.com/tutorials/creating-and-editing-links
    Regards,
    Anoop

  • Saving files(txt,pdf etc.) in database received from client

    Code:
    <!--- Sets the file source --->
    <cfset rfsfile = "#form.accepted_attachedfile1#">
    <cfset rfsid = "#form.rfsid#">
    <!--- Reads The Files Binary Data --->
    <cffile action="readBinary" file="#rfsfile#"
    variable="MyVariable">
    <cfset MyBLOB = toBase64(#MyVariable#)>
    <!--- Save the file in database --->
    <cfquery datasource="manpower" username="devegov"
    password="dev@egov" name="insertfile">
    insert into TBL_RFS_ATTACHEDFILES (RFS_BLOB)
    values (<cfqueryparam value="#MyBLOB#"
    cfsqltype="cf_sql_blob">)
    </cfquery>
    <cfoutput query="insertfile">
    successfull!!!!!!!!!!!!!!!!!!
    </cfoutput>
    <cflocation url="/rfs_backend/RFS_detail.cfm">
    The table is :
    create table TBL_RFS_ATTACHEDFILES (
    RFS_BLOBID INT generated by default as identity (increment by
    1,start with 1) not null,
    RFS_BLOBNAME VARCHAR (50),
    RFS_BLOB BLOB (500000),
    primary key (RFS_BLOBID));
    I am getting the following error in this code.........
    Error casting an object of type to an incompatible type.
    This usually indicates a programming error in Java, although it
    could also mean you have tried to use a foreign object in a
    different way than it was designed.
    The error occurred in
    C:\CFusionMX7\wwwroot\rfs_backend\RFS_SaveRFSDetails.cfm: line 22
    20 : <cfquery datasource="manpower" username="devegov"
    password="dev@egov" name="insertfile">
    21 : insert into TBL_RFS_ATTACHEDFILES (RFS_BLOB)
    22 : values (<cfqueryparam value="#MyBLOB#"
    cfsqltype="cf_sql_blob">)
    23 : </cfquery>
    24 : <cfoutput query="insertfile">
    Please try the following:
    * Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    * Search the Knowledge Base to find a solution to your
    problem.
    Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
    rv:1.8.1) Gecko/20061010 Firefox/2.0
    Remote Address 127.0.0.1
    Referrer
    http://localhost:8500/rfs_backend/RFS_detail.cfm?rfsid=3008
    Date/Time 07-Dec-06 03:48 PM
    Stack Trace
    at
    cfRFS_SaveRFSDetails2ecfm555042871.runPage(C:\CFusionMX7\wwwroot\rfs_backend\RFS_SaveRFSD etails.cfm:22)
    java.lang.ClassCastException
    at
    coldfusion.sql.InParameter.setStatement(InParameter.java:49)

    There is an exclusive forum for forms - {forum:id=82}
    And please dont use the words like Urgent, ASAP in these forums.. That will kill the chance of getting replies to you..
    Edited by: jeneesh on May 16, 2013 2:45 PM

  • Creating external files (.txt, .json, etc)

    Hello everyone,
    I'm currently trying to find out how to create external files from a SWF/exe/app file created in Flash. Essentially I'm building a program to create templates for levels in a game. The SWF will be run locally (e.g. not online) and will allow the user to add/remove objects to a level of their design. They then need to be able to save the level template (ideally I need to be able to save as a JSON* file, but I'm sure I could get away with just a simple txt file) somewhere on their computer. These templates will them be imported by the game itself (not written in Flash, hence why I need to save the data as a json or txt file), which will then re-create the levels from the data contained in the save file.
    I had assumed this would be something that was really simple to do, but I cannot seem to find any tutorials or information on how to create external files. I can find plenty on reading from existing external files, but nothing about actually writing a new file entirely. I have read a few people complaining that non-local Flash SWFs cannot access the user's hard drive for security reasons, but cannot find any information on local SWFs.
    If anyone could tell me even roughly what I'm looking for, it would be greatly appreciated. I'm a bit stuck just now haha
    *I have downloaded the corelib files which allow me to work with JSON files

    Flash is not able to write any type of text file on user system.
    U have to use air or zinc to intract with file system.
    Yes u can use shared objects also. Which stores value to user computer and browser stores cookies on user system

  • HT4168 When I export a pages document as an ePub file the result is a blank locked text edit file on my desk top not an ePub file as previously no problem creating. How do I fix? HHD

    WHenWhen I export a pages document as an ePub file the result is a blank locked text edit file on my desk top not an ePub file as previously no problem creating. How do I fix? HHD

    Try adding .epub to the end of the name.
    I assume you are aware that to open an .epub file you need a special app, not TextEdit or Pages, right?

  • Export result of ssas query result to excel file

    Hi All,
    I have browsed a SSAS cube. I want to export result of SSAS cube into excel file.
    Kindly give your input.
    Thanks,
    Vivek singh

    Hi,
    I do not know whether there is a direct solution but there is an indirect way of doing it. I always follow this method if I ever want to get MDX results into Excel.
    1 - Install the DAX Studio (I know you want MDX results, so do not get confused by looking at the word DAX. Continue reading). You can download it from the following location.
    http://www.sqlbi.com/tools/dax-studio/
    2 - Once you install DAX Studio, Go to the Add-Ins ribbon. Click on DAX Studio. 
    3 - There is an option "Tabular Server" and there is a drop-down list where you can enter the SSAS (MD CUBE Server) server name. Enter the server name manually. If you have multiple SSAS Databases and if you are interested in a specific SSAS database
    enter "Initial Catalog=Your SSAS Database Name" in Additional Options section and Click Connect. You can successfully connect to the SSAS Server now.
    Here are the details described so far in pictorial representation.
    4 - Enter your MDX manually and execute the code via DAX studio and you will get your results right-away in Excel.
    Now, isn't that an elegant way of getting MDX results into Excel :) ? Besides Excel's Pivot Table option, I do not know whether there are any alternate solutions to this but wait for other Pros' comments as well.
     Best regards...
    Chandima Lakmal Fonseka

  • Cannot export result to local file in EBP

    HI Experts,
              I have created a report for displaying self approved shopping carts. When I run this report in SAPGUI I am able to trasnport the result of the report to local file and also send the result through mail.
    But when I run the same report in WebGUI(EBP) I am not able to save the report to local file. Also the option for sending the output through mail is coming greyed out.
    Kindly advice.
    Thanks and Regards
    Manoj Upadhyay

    Yes, The problem with the standrad program. I think there is a need to apply some patch. you just try this with some other server (if avail) i hope it works.

  • Need to export Movie to Quicktime Movie w/ similar file size and quality.

    Let me preface in that I am not in the video editing profession. Many times I have exported my work to the professionals. I'm sure knowing what you're doing is half of the battle. Here is my dilemma. First, I'm using Quicktime pro just to add a text track to the movie. I  then save the file as what Quicktime pro calls Movie .mov. This looks good and has the quality of the original .mov and the small data size. However, no other player than quicktime will recognize the text track. I then tried exporting from Movie to quicktime movie format (still .mov, can anyone explain the difference of the two .mov types???), but I find that the image quality is poor. Yet, in the quicktime format other players (except windows media player) recognize the text track. By poor quality I mean that I think what I have is the blocking effect. I assume that this is due to the bitrate being to low. Again, I would like to keep the file size low and managable for data storage and downloading purposes. I was hoping that in the end all video players would be able to have no issues.
    My current file sized are all less than 1MB and are of good quality.
    Just adding a small test track the Movie .mov is still less than 1MB
    The size of the image is 512x512
    I should also say that I'm a PC user with a quicktime pro windows version. I'm sure that doesn't help me one bit!! However, I believe my issues are more with the fact that I'm not experienced in compressing files and knowing exactly the right settings.
    Here is what I've tried thus far. Movie to quicktime movie
    H264 codec
    Current for fps (Which is in the original is 8fps)
    Key frames automatic
    frame reordering checked
    I've tried Automatic data rate and setting the bit rate, even at 2000kbps (the quality is low). My original movie with the highest kbps is only 1151kbps and has no artifacts
    encoding Best quality multi-pass
    custom size 512x512
    deinterlace checked

    am i correct that this 'my photo stream' process is not removing any image data?
    Yes,  as long as you have iPhoto's iCloud preference pane configures as follows:
    You're be getting the full image file, pixel dimensions, etc. which is essentially a bit by bit copy of the photo on the Phone.
    When you add tags and other metadata and export the file out of iPhoto as a jpeg with the checkboxes selected to include that metadata there will be some image compression.  However, if one chooses High or even Medium JPEG Quality one will be hard pressed to detect any image degradation unless printing very, large prints or otherwise displaying the image at a very, large size.
    I ran a test on a 1.4 MB photo from my iPhone  and compared the original to two exports, one at High and the other at Medium JPEG Quality and got these results:

  • Error "Encountered an error while exporting the data. View the lof file (DPR-10126)

    Hello,
    I would like to have sugestions and help to solve a problem in IS 4.2.
    I've created a view from two tables, joined together with the key from each one.
    Then i've binded the rule with the view (mentioned above) created and calculated score for it.
    The calculation is successful, however when i try to export all failed data i have the following error:
    "Encountered an error while exporting the data. View the lof file (DPR-10126)"
    When exporting failed data from calculations made directly to the datasources i do not encounter any problem, but when i try to export all data to CSV file (not only the 500 results limit) i have this kind of error.
    However, when i visualize the data from the view created, it is also possible to export to csv file.
    Resuming, the error occurs only when exporting all failed data from the view.
    Can anyone help with this issue?
    Thx
    Best Regards,

    Hello,
    Your information is correct.
    I've just confirmed it in the 4.2 SP3 Release Notes and they specifically refer to this issue.
    A user who has 'View objects' rights for the project and a failed rule connection cannot export the failed data. This issue has been fixed in this release.
    Thank you very much for your input.
    Best Regards,

  • How should we be going about creating and saving and/ or exporting our ODC files using Excel 2013 for use in Project Server 2013 Online?

    Hi I need your guidance on how I should go about setting up my Excel 2013 reports so that others in our Project Online 2013 environment can access and updates these reports of mine.
    My questions are as follows:
    I presume I need to create and save my ODC files in a PWA > Data Connections folder.  I have English and French users in our environment.  Do I need save them twice?  Once in the French and again in the English Data Connections folder?
     Likewise for the Excel file? 
    How should I go about creating my ODC files within Excel?  By default, the ODC files are being created on my PC's > My Documents > My Data Sources folder.  I presume I need to get them saved or exported to the PWA > Data Connections
    folder. So, How should I be going about creating and saving and/ or exporting the ODC files???
    FYI...My oData Feeds that I wish to use and join in this particular Excel file are as follows:
    https://cascades.sharepoint.com/sites/pwa/_api/projectdata/AssignmentTimephasedData01T00:00:00'
    https://cascades.sharepoint.com/sites/pwa/_api/projectdata/Projects()?$select=ProjectId,ProjectName,CAS_Classification,CAS_PCO,CAS_IT_Department,CAS_Program,CAS_SubProgram
    https://cascades.sharepoint.com/sites/pwa/_api/projectdata/TimeSet()?select=TimeByDay,TimeDayOfTheWeek$filter=TimeByDay ge datetime'2014-10-19T00:00:00'
    https://cascades.sharepoint.com/sites/pwa/_api/projectdata/Resources()?$select=ResourceId,ResourceName,Programs,Supplier,Source,Role,CostType
    Thanks in advance,
    \Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)

    Thank you Guilaume.  May I ask you to help clarify a bit more for me?  If I have to do it for both languages (the reports and ODC files), do I simply copy the same ODC files from e.g., the English to French folder in PWA (Odc files)?  Or does
    that defeat the purpose?  Or, do I need to create a new set of oData Feed Connection files with a French version of Excel 2013 and save them to the French Data Connections folder in PWA?  Do I need to have a French version of Excel 2013 to create
    French ODC files and ultimately French based reports and/ or vice versa?
    I did notice that the following oData metadata command from within a browser produces different results (ie., English versus French metadata returned) depending on who runs it (i.e., French or English user, etc).  As you can see I am a bit confused.
     Any help you can provide would be greatly appreciated.
    https://XXXXX.sharepoint.com/sites/pwa/_api/projectdata/$metadata
    \Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)

  • How to export result set from mysql query browser to .sql in oracle

    Hi folks:
    I was trying to export result set from MySql query browser to Oracle. I could able to do
    File->Export Result Set-> Excel format...
    What I am trying to get is .sql file so that I can run it as a script in my oracle db. Is there any way we can get .sql file with inserts and delimeters ....?
    Did you guys get my question.?
    Please throw some light on this....
    Could be very appreciable ....
    Thanks
    Sudhir Naidu

    Hi
    Create a sql statement which generates the insert statements.
    Something like this:
    select 'insert into table1 (column1, column2, column3) values (' ||
    column1 || ', ' || column2 || ', ' || column3 || ');' from table 1;
    The || sign is the string concatenation sign in Oracle, replace it the appropriate sign in MySql. Export the result set of this query into a file, and you can run it in a SqlPlus.
    Ott Karesz
    http://www.trendo-kft.hu

  • How to create Store Procedure for export result select in .txt or .csv

    Hello,
    I'm using MSSQL Server.
    How to export results query  in .txt or .csv?
    But
    I can not use bcp or SQLCMD.

    1) linked server
    insert into txtsrv...table1#txt(CustomerNumber,CustomerName,EntryDate)
    select orderid, shipname, orderdate
    from Northwind..orders
    Set up the linked server
    Connecting a directory of text files as a linked server is easy.  Here’s how:
    In Windows, create a new directory for the linked server.  
    For this article, that directory will be E:\txtsvr. 
    Add that directory as a linked server with sp_addlinkedserver:
    EXEC sp_addlinkedserver txtsrv, 'Jet 4.0',
      'Microsoft.Jet.OLEDB.4.0', 'e:\txtsrv', NULL, 'Text' 
    That’s all that’s required to add the linked server txtsrv
     as a connection to the text files in E:\txtsvr, but there are
     no tables in txtsvr yet.  Also missing is a required file, schema.ini, 
    which must contain a description of each table’s format.  
    You can  learn more about schema.ini from the Microsoft MSDN Library,
     but for now, just use Notepad or your favorite text editor 
    to create the file e:\txtsrv\schema.ini as shown in Listing 1. 
     In addition, create an empty text file in e:\txtsrv named table1.txt.
    The file e:\txtsrv\table1.txt is now an empty table in the linked server txtsrv.  
    We can see that if we list information about all the tables in txtserv with 
    the system stored procedure sp_tables_ex:
    EXEC sp_addlinkedsrvlogin txtsrv, FALSE, Admin, NULL
    EXEC sp_tables_ex txtsrv
    Text files are tables
    We can’t issue a CREATE TABLE statement against this linked server, 
    but we have created a table easily enough.  We can, however, 
    run INSERT and SELECT queries, if we use the four-part naming 
    convention <server>…<table> (that’s three dots):
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • InDesign CC, can't export to html, can't access unneeded file

    In the latest build of InDesign CC (July 2014), the export process to HTML has changed. You used to be able to export a book directly to filtered HTML files. Now the option is no longer in the Book menu, and you must go through the main menu, which does not allow filtered HTML option. I keep getting a crash when I open the resulting HTML file, "Can't access .jar file from SiteBuilder,"--a Yahoo HTML creation program, which I formerly used. The book file contains  only embedded jpg photo files and InDesign documents for chapters, but it calls for this unrelated and unconnected .jar file. Also, It is impossible to choose the "From Selection" option, only the "From Document" option, so I can't export the whole book into HTML, which previous versions enabled me to do.I'm stuck, and now Adobe has stopped offering phone support to subscribers. After wasting a whole day on this single issue, I'm fed up. Is it time to scrap InDesign?  Also, how do you edit an e-pub file created by InDesign? (It misplaces the photo captions)  Dreamwdeavce should be able to do it, but I can't figure out how. Any help would be appreciated. Peter

    Export the file from ID as an .idml file and open that resaving as an.indd file with a new name. That should strip out the reference to the unused file.

  • How to export MySql queryBrowser to oracle's .sql file

    Hi folks:
    I was trying to export result set from MySql query browser to Oracle. I could able to do
    File->Export Result Set-> Excel format...
    What I am trying to get is .sql file so that I can run it as a script in my oracle db. Is there any way we can get .sql file with inserts and delimeters ....?
    Did you guys get my question.?
    Please throw some light on this....
    Could be very appreciable ....
    Thanks
    Sudhir Naidu

    As already pointed out the implementation is bad.
    You should have:
    USERS ( ID )
    GROUPS ( ID )
    USER_GROUPS( USER_ID,GROUP_ID )The reason for not using the CSV list is that not only is it hard to write efficient SQL against denormalised structures, but it is very difficult to constrain your data properly.
    But anyhow, Oracle 10g has a MEMBER OF function. Too bad you're on 9i. You say "new task", is the platform still up for decision?
    You could normalise on the fly like this
    e.g.
    SELECT t.GROUP_ID
          ,EXTRACTVALUE (csv_to_tab.COLUMN_VALUE, 'user')
           user_id
      FROM t_user t
          ,TABLE (XMLSEQUENCE (EXTRACT (XMLTYPE
    (   '<set><user>'|| REPLACE
    (t.users,',','</user><user>' )                       
    || '</user></set>'), '/set/*'))) csv_to_tab

Maybe you are looking for

  • PDF - Mail

    Hi friends, I have generated a sales executive performance report in ABAP and i have generated a PDF file in my local directory for each sales executive. Now, i need to send a mail with an attachment of this pdf file to teh respective sales executive

  • New update destroys quick look on raw images?

    got a new mountain lion update today-- supposedly something about raw image handling??  and now quick look is messed up for raw images, preview also..........it only shows whites.....like all my photos are washed out....the only way to view raw image

  • Error -9812, phone is frozen updating to 4.1

    When getting the update for my iPhone the ETA seemed long so I went elsewhere, so when I returned I find this error -9812 on the screen. Now my phone shows a picture of a USB cord with an arrow pointing to the iTunes icon. I did the Sleep/home hold b

  • HT5312 In answering security questions part

    There's no such thing as "Forget your answers?" What should I click then?

  • Canon EOS Movie Plugin

    Does anyone know how to use this thing? I can't seem to get anything to happen. My footage is on a hard drive (not the camera). Will it still work? What's the process, I'm following the instructions, and nothing happens.