How to save and open Text/csv file over APS

Hi,
I want to save(and open later) data from database block in text/csv file format over Application server, I did a lot of search here on Forms but didn't found a reasonable solution, Some one plz help me.
Thanks and Regards, Khawar.

As long as you are using the Report Generation Toolkit, there is no need to use ActiveX for the purpose of saving the Excel file -- Save Report will do that for you.  You can then export (as text) all of the Excel data and use the Write Spreadsheet File to make the .CSV file.  Here is how I would rewrite the final bits of your code --
I cleaned up the wires around Excel Easy Table a bit.  You'll see I made a VI Icon for Replace Filename, which does (I think) a nicer job of self-documenting than showing its Label.  To make the filename, add the correct extension (.xlsx for Excel, .csv for CSV), use Build Path to combine Folder and Filename, and wire to Save Report.
The next two functions add the Extract Everything and Write to Spreadsheet, using a Comma as a separator, which makes a CSV copy for you.
Bob Schor

Similar Messages

  • How do i save and access a csv file on my ipad when filling in a smartform. Currently only option goes to photos

    Trying to save a csv file on my ipad so I can auto populate into a SmartForm. It will only allow me to access photos when I hit the import button

    search the app store for PDF Writer. I've found a lot that will convert documents to PDF, but none yet that will write within the PDF. One thing you want to avoid are cloud based apps. Any of them that talk about editing on the cloud, etc, aren't going to be as standalone as you want.
    It's possible, if you can take your template PDF, turn it into a word document that you can edit, you can then convert that to PDF...kinda a workaround way to do what you want. And apps that convert to PDF are much easier to find

  • How to save excel report as CSV file with ActiveX

    Hi,
    I'm trying to save my excel test report as a CSV file using ActiveX and I'm having difficulty getting started.  I can't find an invoke node method that enables CSV file conversion. 
    Can anyone shed light on this?  See attached screenshot.
    Thanks
     

    As long as you are using the Report Generation Toolkit, there is no need to use ActiveX for the purpose of saving the Excel file -- Save Report will do that for you.  You can then export (as text) all of the Excel data and use the Write Spreadsheet File to make the .CSV file.  Here is how I would rewrite the final bits of your code --
    I cleaned up the wires around Excel Easy Table a bit.  You'll see I made a VI Icon for Replace Filename, which does (I think) a nicer job of self-documenting than showing its Label.  To make the filename, add the correct extension (.xlsx for Excel, .csv for CSV), use Build Path to combine Folder and Filename, and wire to Save Report.
    The next two functions add the Extract Everything and Write to Spreadsheet, using a Comma as a separator, which makes a CSV copy for you.
    Bob Schor

  • How to invoke and receive from csv file

    I have an employee.csv file which contains empid and empname deatils,
    I want to fetch corresponding empid by giving input as empname from the employee.csv file and write empid into DB
    I had created an read file for employee.csv, but for the receive activity only one variable is created
    how to give input(empname) to the file and to get the empid from that file.
    Please help me from this issue

    In receive activity output file will contain the information of the entire list of empid and emp names. Wrive java code in java embedded activity to fetch the details of your desired output then use assign activity to continue your flow.
    try {                
    oracle.xml.parser.v2.XMLText text =(oracle.xml.parser.v2.XMLText)getVariableData("OnMessage_composeAndDistributeMQ_InputVariable","payload","/client:composeAndDistributeRequest/client:ControlInformation/client:SystemID/text()");
    String SystemID = text.getNodeValue();
    Calendar cal = Calendar.getInstance();
    SimpleDateFormat justDateTime = new SimpleDateFormat("yyyyMMddHHmmss");
    String DateTimeString = justDateTime.format(cal.getTime());
    SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss:SSS");
    Date now = new Date();
    addAuditTrailEntry("Now = " + df.format(now));
    long timeInMilli = now.getTime();
    addAuditTrailEntry("Date() - Time in milliseconds: " + now.getTime());
    String DRI = SystemID + "003" + DateTimeString + timeInMilli + "0000001";
    setVariableData("Invoke_RequestMQ", "body", "/ns2:DocumentRequests/ns2:DocumentRequest/ns2:MailItemInfo/ns2:DocumentRequestId", new String(DRI));
    catch (Exception e) {                
    e.printStackTrace();
    }

  • How to save and retrieve an excel file as an object into lob column?

    Hi ,
    I need to save and retrieve the whole excel file with 3 or more sheets as an object into the lob column of table.
    For example:
    t_docments
    (doc_id number,
    excel_data clob
    All excel files need to be saved to excel_data column.
    What should I do?
    Thanks

    Did you check the asktom thread posted by Jens?
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P1
    1_QUESTION_ID:232814159006
    There's example of varies file types.Yes, I did try some examples.
    Those work for .doc/.pdf/.jpg files, BUT NOT for excel file.
    The following error happened when retrieving excel file(retrieving .doc/.pdf are OK)
    ORA-29285: file write error
    ORA-06512: at "SYS.UTL_FILE", line 18
    ORA-06512: at "SYS.UTL_FILE", line 375
    ORA-06512: at "SYS.UTL_FILE", line 990

  • Inability to print or save and open certain PDF files

    I am using Adobe Reader XI with Mac OS 10.9.4 and Safari 7.0.6.  If I obtain a PDF file online  --  for example, an IRS confirmation letter when I obtain a taxpayer ID for a client - if I attempt to print it, it is blank.  If I save it on my desktop as a PDF and attempt to open it, I get an error message that it is not a supported file type or the file is damaged.  However, I have no problem with PDF files I receive as email attachments, access via dropbox or similar vehicles, or save myself (for example, when printing a Word document, electing to save as a PDF).
    This is a major problem for me - but Adobe doesn't offer phone support (even on a paying basis, such as Apple provides).  Some weeks ago I was able to initiate a chat about it and told to reinstall, which I did with no change.  Now I can't even find out how to initiate a chat because the only trouble-shooting support option is forums.
    My email = [email protected]
    HELP!
    Thanks.

    Hi, and thank you for your response.
    Here is what you could try.
    1.     Go to IRS.gov.
    2.     Click on "current forms and publications."
    3.     Enter "SS-4."
    4.     That should lead to a fill-in form that states at the top that you can save the information.
    5.     Fill a bit of arbitrary information in.
    6.     Try to print.  At that point, I can print, but the pages are blank.
    7.     Whether or not you succeed, save as a a PDF on your desktop.
    8.     Try to open.  At that point, I get the error message I described.
    I forgot to mention in my post, I think, that I was able to do the things I described that I need to do (and have in the past always been able to do on my computer) on my wife's computer, which is an Apple that has not been upgraded to Reader XI, Maverick, or Sarari 7.0.6.
    As an aside, with the upgrade to Maverick, I've had extensive and ongoing problems with Apple's mail program, to the extent that I'm now assigned a "personal" senior technical analyst with his personal email and phone number.  I feel honored, but I'd rather have a working system.  As an attorney, my product is blocks of time during which I apply 40+ years of experience - but the result of all of this is that I am spending untold hours of unbillable time because of the (perhaps not unreasonable) problem software designers have of anticipating and resolving the literally of millions of interface problems their programs can have.
    I have a question.  I know that with Apple, when one is out of warranty and AppleCare, you can pay a nominal amount for telephone support for a given issue.  I cannot find anything like that with Adobe.   Is there something?  My on-line chat experiences with Adobe attempting to resolve the problems I am encountering were a complete waste of time.
    Thank you for your help.
    Tom

  • How export to csv work in safari browser? In my application export to csv open like a raw data in new tab. But other browsers working great!. Need to open in a csv file or save it as a csv file.

    How export to csv work in safari browser?
    In my application export to csv open like a raw data in new tab.
    But other browsers working great!.
    Need to open in a csv file or save it as a csv file.
    Please suggest me. Thank you in advance!.

    Hi Adrian,
    Why don't you try any another software for opening CSV files then Notepad ? According to my experience, you can use these softwares to open an CSV files and they are:-
    Microsoft Excel
    Open Office Calc
    Google Docs
    Also there is an additional tool available known as CSV viewer. You may try this, download it from here http://www.csvviewer.com/
    I've never used Notepad for opening CSV files, because sometimes it contains some symbols which are not not at all compatibile with Notepad.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • I have just bought a Panasonic Lumix compact camera. Aperture and Preview can't open the RAW files from this camera. Panasonic recommend downloading 'SYLKPIX Developer Studio SE' to save RAW file formats.How can Aperture and Preview read the files?

    I have just bought a Panasonic Lumix compact camera. Aperture and Preview can't open the RAW files from this camera. Panasonic recommend downloading 'SYLKPIX Developer Studio SE' to save RAW file formats.How can Aperture and Preview read the files?

    Either use 'SYLKPIX Developer Studio SE' to develope the RAW files and to save them in another lossless format like TIFF, or try if Adobe's free DNG Coverter can convert your Lumix RAW files to dng. Then import the dngs. This way, your files will still be RAW files.  This works (most times) for my Lumix FZ28.
    Adobe DNG Converter 8.3  http://www.adobe.com/support/downloads/detail.jsp?ftpID=5695

  • HT4075 I don't have any problems merging the documents by dragging, but when I try to save and open afterwards, only the last shown doc was saved, not the combined files I wanted to merge. I tried save and export, how can I create the file after merging?

    Hi, I'm having trouble saving the documents when merging in Preview. I don't have any problems merging the pdf documents by dragging them in preview, but when I try to save and open afterwards, only the last shown doc was saved, not the combined files I wanted to merge. I've tried save and export, but none merge the documents after saving... how can I create the file (with all the pdf files) after merging?

    That's a comment in the file. It has no effect at all.

  • How to pop up "save" and "open" window - Help with construct xml

    In my report there is a column link which is pointing to another HTML page that has xml data displayed in a textarea field. So when user clicks on the column link, he gets to directed to the page that have the xml data in text format.
    My question is, how can i make the xml data display as a file, so when the user clicks on the column link, a window with "save" and "open" will pop up so the user can save the xml data as a file?
    Has anyone done something similar like this? any help is appreciated!
    Regards,
    gina
    Message was edited by:
    gina

    Thank you Tine, I tried to use the 'Export XML' report template and tried to do the following query:
    SELECT XMLElement("oai_dc:dc",
    XMLAttributes('http://www.openarchives.org/OAI/2.0/oai_dc/' AS "xmlns:oai_dc",
                        'http://purl.org/dc/elements/1.1/' AS "xmlns:dc",
    'http://www.w3.org/2001/XMLSchema-instance' AS "xmlns:xsi",
    'http://www.loc.gov/mods/v3' AS "xmlns:mods"
    XMLForest(
    dctitle AS "dc:title",
    dccreator AS "dc:creator",
    dcsubject AS "dc:subject",
    dcdescription AS "dc:description",
    dccontributor AS "dc:contributor",
    dcdiscovery AS "dc:discovery",
    dctype AS "dc:type",
    dcformat AS "dc:format",
    LOWER('ksl:posters-' || dcidentifier) AS "dc:identifier",
    dcsource AS "dc:source",
    dclanguage AS "dc:language",
    dcrelation AS "dc:relation",
    dccoverage AS "dc:coverage",
    dcrights AS "dc:rights")) AS "RESULT"
    FROM table_name
    and here is what returned in the “save as" file:
    <?xml version="1.0" encoding="utf-8" ?>
    - <XMLREPORTREGION>
    - <ROW ROWNUM="1">
    <RESULT>[datatype]</RESULT>
    </ROW>
    </XMLREPORTREGION>
    How can i construct the query so that it returns the data in xml format like the following?:
    oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
    <dc:title>Rose</dc:title>
    <dc:creator>Smith Black</dc:creator>
    <dc:contributor>Smith Black</dc:contributor>
    <dc:type>Stencil</dc:type>
    <dc:format>image/tiff</dc:format>
    <dc:format>image/jp2</dc:format>
    <dc:description>13 3/4" X 9 1/2"</dc:description>
    <dc:relation>Some collection</dc:relation>
    <dc:date>1987</dc:date>
    <dc:subject type="LCSH">Art Project</dc:subject>
    <dc:subject type="LCSH">........</dc:subject>
    <dc:subject type="LCSH">.........</dc:subject>
    <dc:language>eng</dc:language>
    <dc:rights>......<dc:rights>
    <dc:identifier>.....</dc:identifier>
    </oai_dc:dc>
    I don't know much about xml, any help would be really appreciated.
    Thanks,
    gina
    Message was edited by:
    gina

  • I need to monitor a transducer block parameter and save it to a CSV file.

    How can I monitor a transducer block parameter and save it to a CSV file?  The reason is that I need to do some long-term testing of an FFb device we are developing, and I need to read the primary output parameter of the transducer block (not the scheduled AI block) every second or two and save to a CSV file.
    I have tried to figure out a way to do that with FBUS Configurator, unsuccessfully, and I purchased FBUS Monitor, as that was recommended by an industry expert, but I have been unsuccessful at getting that to work as well.

    Hi Wpinson,
    Neither FBUS Configurator nor Monitor can meet your requirement. However, there are other approaches. NI-FBUS provides APIs for C, LabVIEW, VB and C#. You can use these APIs to read a parameter value of any block and use standard file IO functions to save the date into CSV file. The LabVIEW APIs are highly recommended because they are easy-to-use and LabVIEW also provides APIs for CSV file operations. You can build the application w/ LabVIEW in a short time.
    You can find the examples of the FBUS APIs in the following folders:
    1. C: C:\Program Files\National Instruments\NI-FBUS\MS Visual C\examples
    2. VB: C:\Program Files\National Instruments\NI-FBUS\MS Visual Basic\example
    3. C#: C:\Program Files\National Instruments\NI-FBUS\MS .NET\examples\CsharpExample
    4. LabVIEW: search "fieldbus" in the LabVIEW example finder.

  • How to open a .csv file in a load rule

    Hi All,
    I am trying to open a .csv file in a load rule to find it is working correctly. But, I am not given an option to look at the .csv files when I click on "Open Data File" option from the File menu.
    Please suggest.
    TIA,
    Vamsikrishna.

    I have tried that as well.
    But, It is not giving me that option, "All files".
    It is just showing
    Text files (*.txt),
    Excel Document (*.xls),
    Week1 Document (*.Wk1),
    Week2 Document (*.Wk2),
    Week3 Document (*.Wk3) and
    Week4 Document (*.Wk4).
    Please suggest.
    TIA,
    Vamsikrishna.

  • How can we a validate a CSV file in SSIS and log the error details in another CSV File by using Sript Task.

    How can we a  validate a CSV file in SSIS and log the error details in another CSV File by using Sript Task.

    Please see:
    http://www.bidn.com/blogs/DevinKnight/ssis/76/does-file-exist-check-in-ssis
    http://social.msdn.microsoft.com/Forums/en-US/01ce7e4b-5a33-454b-8056-d48341da5eb2/vb-script-to-write-variables-to-text-file

  • Can I save and read text files on a server that I host?

    Hello everyone,
    I am a java hobbiest. I was wondering if I set up my own server, running out of my house, could I have my applets save to my computer and read from my computer without having to learn JDBC and a DATABASE language. In other words could i just have my applet save and read text files from and to my server?
    I'm trying to set up a sight for my 5th grade class where parents can log into. Thanks for your time.
    Oh yeah, which is easier, learning how to set up a server or learning JDBC and a DATABASE language?
    If you have any other good idease please tell me them
    Thank you, Bryan

    Short answer: This isn't gonna work
    Long answer: For this to work, the first thing you're going to need is a static IP address and a DNS name registered -actually you don't necessarily need #2 but you're probably gonna want it and it's by far the easier of the steps.
    As far as I know to get a fixed IP address you've either gotta be directly attached to a larger network (ie university network) or get a leased line from an ISP.
    Once you've got that done come back to us.

  • How to create and read text file using LabVIEW 7.1 PDA module?

    How to create and read text file using LabVIEW 7.1 PDA module? I can not create a text file and read it.
    I attach my code here.
    Attachments:
    File_IO.vi ‏82 KB

    Well my acquisition code runs perfect. The problem is reading it. I can't seem to read my data no matter what I do. My data gets saved as a string using the array to string vi but I've read that the string to array vi (which I need to convert back to array to read my data) does not work on the pda. I'm using version 8.0. So I was trying to modify the program posted in this discussion so that it would save data from my DAQ. I did that but I still can't read the data after its saved. I really don't know what else to do. All I need to do is read the data on the pda itself. I can't understand why I'm having such a hard time doing that. I found a possible solution on another discussion that talks about parsing the strings because of the bug in the "string to array" vi. However, that lead me to another problem because for some reason, the array indicators or graphs don't function on the pda. When i build the program to the pda or emulator, the array indicators are faded out on the front panel as if the function is not valid. Does this kind of help give a better picture of what I'm trying to do. Simply read data back. Thanks.

Maybe you are looking for

  • Photo does not appear on my blog

    Hello everyone, I'm a newbie in Photoshop and require your kind help! I recently created a blog dedicated to Baby Names: http://www.babynameslog.com/top-baby-names-2013/ I'm trying to show a 728x90 image under the main menu, I've created a nice (don'

  • Copying photos to dvd from org.

    I am using photoshop elements 9. have  used other elements as they came out without any problems when trying to copt I select photos select copy chose dvd drive writer it asks for dvd checks and states 2 dvds and I check ok starts to copy then error

  • Field values erases when Add Row button is pressed in Master Detail Form

    Hi, I am using APEX 4.0. There is a master-detail form in a page, this has 5 rows in it by default, has a Add row and a Delete button. I face two problems now: 1. When the values are entered in all the 5 rows, that are in default, and Add Row button

  • Why the computer network name change?

    Every now and this this happens: I unhook my MBPro from my office connection (ethernet) and take it into the living room and plug in there (ethernet). Wireless is off. Usually fine, but other times I get the message that a computer with this same nam

  • IPhone 5/5C LTE YouTube streaming via Safari

    What the heck is the issue? My fiancé has the iPhone 5 and I have the 5C. We are both on Sprint LTE. ALL videos that we play on YouTube via Safari will play part ways through, but then the video and audio with cease but the "steaming ticker" will con