Universal export in the Excel process

Hello

I have to write a pl/sql procedure that exports data to Excel file in XML format. This procedure should be available for all large enough application pages, so I don't want to write from scratch for each report separately. I need more object-oriented way.

You know a way to read the results of any region of APEX report and write it down / export to Excel using pl/sql process?

I know how to write XML Excel files and I know I can find definitions of the region with the queries of the reports for the APEX_APPLICATION_PAGE_REGIONS, but I have no idea how deal, especially with the reports of pl/sql returns the query string. How to put these data in cursor, how to declare the cursor automatically type etc. Maybe I can use a function of APEX?

Kind regards
Przemek Staniszewski

We have updated the package of the Dene to support regions with function of PL/SQL returning the query. It is available here:

https://ISHARE.UCR.edu/xythoswfs/WebUI/_xy-1395824_1-t_0NXFlVF7

One thing to note, in the procedure of source area you need to refer to element values using v ('P_ZZZ_NAME') instead of: PZZZ_NAME

Tags: Database

Similar Questions

  • Export with the OMB process flow Diagrrams

    Hi all

    I would like to know if it is possible to do a routine to export flowcharts to process as JPG with OMB or another language.
    Thanks in advance.
    Kind regards
    Sebastian

    Hi Sebastian

    Check-in JPG or SVG is available only in the user interface.

    See you soon
    David

  • How to export data to excel that has 2 tables with the same number of columns and the column names?

    Hi everyone, yet once landed upward with a problem.

    After trying many things to myself, finally decided to post here...

    I created a form in form builder 6i in which clicking on a button, the data gets exported to the excel sheet.

    It works very well with a single table. The problem now is that I cannot do the same with 2 tables.

    Because the tables have the same number of columns and the columns names.

    Here are the 2 tables with column names:

    Table-1 (MONTHLY_PART_1) Table-2 (MONTHLY_PART_2)
    SL_NOSL_NO
    MODELMODEL
    END_DATEEND_DATE
    U-1U-1
    U-2U-2
    U-4U-4
    ..................
    ..................
    U-20U-20
    U-25U-25

    Given that the tables have the same column names, I get the following error :

    402 error at line 103, column 4

    required aliases in the SELECT list of the slider to avoid duplicate column names.

    So how to export data to excel that has 2 tables with the same number of columns and the column names?

    Should I paste the code? Should I publish this query in 'SQL and PL/SQL ' Forum?

    Help me with this please.

    Thank you.

    Wait a second... is this a kind of House of partitioning? Shouldn't it is a union of two tables instead a join?

    see you soon

  • Export data to Excel does not work in the build (.exe)

    I'm new to LabView 2010, but made a small application which works as expected when run as a VI in the Labview environment. This is a simple data acquisition where the results are displayed in a waveform graph. I used the method "Export data to Excel" to present the request to transfer the results on the chart in an Excel file programmatically.

    However, when I build the application and run the exe, the application works very well outside the export to Excel. Excel does not start, and when I right click on the graph for "export data to Excel" manually, it doesn't work anymore. The data can be exported to the Clipboard and then pasted into Excel, which is doable, but not very elegant solution...

    Any thoughts?

    Hi CFNoergaard,

    This issue has been corrected in LabVIEW 2010 SP1.

    If you upgrade to this version, it should do the trick.

  • How to export a single job Disqualification as well as the related processes and data warehouses

    Hello

    I'm new to OEDQ. May be that it is a fundamental issue. But I am not able to find any way. Help, please.

    I use OEDQ version9 and installed locally in my system. I prepared a working with a CSV file as source and used some transformations of control (data type, control the length) in my process ( I've also enabled publish it on the dash for this process option) to prepare the work.

    Then I took the export of .dxi of employment by right-clicking on the name of the job and by selecting the package.

    But when I import this package dxi to another machine is not able to find the related processes and then I am unable to run the TASK.

    Now, is it possible in OEDQ where I can take export a JOB with connections and related processes?

    Kind regards

    Samira

    It is normally easier to pack the whole project, but for any object, you can filter a project first and then package it. To do this for a job, right-click on the task and select filter of dependence - elements used by the selected item. Then package the filtered project - this upward work package manager and all other dependencies (data banks, data interfaces - you won't have to 9.0), snapshots, data staging, refer to data, process etc..) The same works for other objects and processes.

    I would note that since three version major 9.0 so you are encouraged to use a newer version if possible.

  • Exporting data to Excel discoverer - keep the format for numbers options

    Is it possible to keep the format options when you export an excel spreadsheet.

    I formatted numbers with 2 decimal places and using the 1000 separator, but in great numbers do not have the 1000 separator. For some reason any.

    Thank you

    Oddie

    Oddie-

    When we export out of our 10.1.2.3 Discoverer Plus the instance as a Microsoft Excel (.xls) workbook and open results with Excel 2007, we can see the format exactly as it is in the Scout report.

    When the user first opens the workbook, they see two worksheets - we the unformatted data, and contains macros formatting. At the top left, there is a warning from security - Macros have been disabled, with the Options button. By clicking on the Options button gives a choice to 'enable this content '. Once the user clicks the OK button, the Excel export will be formatted as the discoverer of report.

    -Tracy

  • Export the Excel file discoverer - using the command line...

    Hello world

    The discoverer report is the parameter in the title.
    When I click on the button Xcel in Disco, the title with parm is included in the worksheet

    -but...

    I really want to run the command line to send Disco. output to Excel.
    The title line isn't here! (but are there headers of columns with data)

    I really need the parm value to include in the Excel header. All ideas, pls? TX, Sandra

    command line:

    C:\oracle\BIToolsHome_1\bin\dis51usr.exe / connect testuser/tstuser123@odstest /opendb "testuser. ToWeb_Elective_Tally.DIS' / sheet all THE parm_AcademicPeriod /parameter ' 200910, 200920 "/ Export XLS"C:\ARG_99_Scripts\ARG_99_DailyElectives_script\ToWeb_Elective_Tally.xls"/ batch".

    Hello

    You could try to use HTML/export but keep the file as .xls type. Then you open the HTML file in excel, and most of the formatting and the title will be preserved.

    However, you will not be able to use /sheet with the option HTML/Export.

    Rod West

  • can export us all the data in the Excel file format table in oracle?

    Hello

    Is it possible to export all the data in the table to the excel file format?

    Thank you

    Hi Mohammed_82!

    Oracle itself has no tools to export in csv or excel format. You have to search third-party tools such as Toad or the Torah.

    concerning

  • Records found in the Excel Download

    Hi all

    I want a solution, I have a report and I want to add checkboxes on each line of records in the report. If the user selects the check boxes and click Download to Excel link, we want only to selected records (which users ticked the boxes) to be published in excellent.


    Thank you

    Hello

    There are probably several ways to do it, but that's what I did:

    1 - Adding an item checkbox in the report on page 26:

    SELECT
    APEX_ITEM.CHECKBOX(1, EMPNO) EXPORT,
    EMPNO,
    ENAME
    FROM EMP
    

    2 created a process of PL/SQL, called P26_SET_SELECTED, who runs "on submit, after calculations and Validations" and use the following code:

    BEGIN
    APEX_COLLECTION.CREATE_OR_TRUNCATE_COLLECTION('EXPORT');
    FOR i IN 1..APEX_APPLICATION.G_F01.COUNT
    LOOP
     APEX_COLLECTION.ADD_MEMBER('EXPORT',APEX_APPLICATION.G_F01(i));
    END LOOP;
    END;
    

    3 created a new report page (page 27). The report's SQL query is:

    SELECT EMPNO, ENAME
    FROM EMP
    WHERE EMPNO IN (SELECT C001 FROM APEX_COLLECTIONS WHERE COLLECTION_NAME = 'EXPORT')
    

    Region report uses "No. Template" and the report model is "export: CSV.

    4. return to page 26, I created a button called P26_EXPORT_BUTTON. The direction of this button is on page 27.

    5 - the P26_SET_SELECTED PL/SQL process is then defined to be triggered by this button.

    So when the user ticks boxes and click the export, the process is run and creates a collection of values selected EMPNO. Page 27 is called (but, as this is a report "export: CSV ', the report is open for download)-the report is filtered on the elements stored in the collection.

    Andy

  • cannot paste copied from CSV files online entered into the Excel worksheet (chatted with Cedric_L on 03/05/10 at approximately 2.30 CST but I got disconnected. not got an answer...)

    Here is the transcript of a chat with Firefox community member zzxcon may 3/10

    Now you are chatting with Firefox community member Cedric_L
    Cedric_L: Hello
    Cedric_L: what happens when you try to download a .csv file?
    Seegal: Hello
    Seegal: it is not copy
    Cedric_L: how you try to copy?
    Seegal: pls bear with me, I'm a slow typist. Just copy the selected text
    Biolizard joined the conversation.
    Cedric_L: ok - you choose what text?
    Seegal: I reconcile my checkbook (worksheet in this way). I copy my bank acc online items and paste it in the worksheet
    Seegal: I use Firefox 2.0.0.19. Have no problem to do so.
    Cedric_L: what version of Mac OS X?
    Seegal: in the new version nothing happens when trying to paste - just doesn't add up
    Cedric_L: Firefox 2.0.0.x is no longer supported and has not been supported by more than a year
    Cedric_L: paste into Excel from Firefox?
    Seegal: Sorry, I'm early... 2.0.0.19
    Seegal: Yes. I opened my bank acc in Firefox
    Cedric_L: what version of Excel?
    Cedric_L: it would really help if you could tell me step by step what you do.
    Seegal: first re: your previous question: is OS 10.4.11
    Seegal: on Excell: it' ACE 2004 version - the lasat one product for Macs. The specific version is 11.3.7
    Seegal: so I opened my ACC. to bank online in Firfox (my main browser). I copy the last entry in the account and paste in my Excel spreadsheet.
    Cedric_L: so, you copy directly from the web page without having to download a CSV file?
    Seegal: what do you mean by CSV file download? I could export to the https://chat-support.mozilla.com:9091/webchat/getimage? image = sendmessage & workgroup=support%40workgroup.chat-support.mozilla.comFirefox to the CSV file, but the other way around?
    Cedric_L: you copy your bank statement directly from the web site to Excel by using the Clipboard?
    Seegal: so do not use the Clipboard. It is a mac. There is no need to do so. In the PC, it would be Yes.
    Cedric_L: I need to know the exact steps that you deliver to bring in excel
    Cedric_L: and I need to know what exactly goes wrong in the latest version of Firefox.
    Seegal: you have a mac it with Firefox and Excel? It is very easy to reproduce. Imagine you open access to online banking, select a few entries, click on 'copy', to make your already open Excel worksheet and click "Paste". That's all!
    Cedric_L: when this happens, do you have cryptic code pasted into Excel?
    Seegal: as I said before: in all newer versions starting with 3.0 when I go to Excel to 'stick' of my bank acc, nothing happens. It does not stick. No, I don't get a cryptic code pasted, just NOTHING.

    Cedric_L: what happens if you paste into MS Word instead?
    Seegal: haven't tried, most likely the formatting would be lost. Tried with an another el Exc spreadsheet-it lost all the formatting and pasted as continuous text.

    This has happened

    Each time Firefox opened

    Is copy of the cat above. THIS MAC OS X. In the older versions before 3.0 I could copy the CSV file on the site Web Ibank VAC) and paste it directly to my spreadheet Excel reconciling my account.

    There is a known issue with Mac Office versions prior to 2007 version that results in release of Clipboard does not correctly supported. Firefox 3.0, being a more recent application, using the new format for the HTML Clipboard data. Unfortunately, Office 2004 and Office X do not support this.

    If you upgrade to MS Office 2007, it should work as expected.

  • Using the Excel sort function through tiara.

    Hello

    I'm looking to make use of the sorting function in Excel via DIAdem. I export the data of my. TOC files in a newspaper running in Excel, and I'd like to be able to sort out a selection, in ascending order, based on the data in the first column.

    Everyone has achieved something close to that?

    I appreciate any help you can offer.

    Hey Kevin,

    I was look a little on the web about the issue you are experiencing. Honestly, I'm not an expert on ActiveX scripting, however I found out something that at least might be useful about the method in script of the Excel worksheets. If you take a look at the second point on this link, how certain methods and properties are disabled when a control tool is active and above all they talk about the method out and that they offer as workaround to activate another element on the sheet before calling the method out.

    I hope that you will find useful for your development as well!

    Best regards,

  • When dynamically created variables are emptied in the sequential process template?

    I have a sequence TestStand 2014 in which I dynamically create and fill many FileGlobal variables in the installation section of my main sequence.  I have it using the TestStand API to read the data in an Excel file (the data consists mainly of thresholds, limits, etc.).  The methodology itself works flawlessy.

    However, there are differences in behavior when using entry points both execution of the sequential process model.  When you use the entry point of execution 'Single Pass', he has no problem in test a DUT after another.  However, when you use the entry point for execution "Test DUT", I encounter the following error after completing of DUT1 and DUT2 testing:

    An error occurred the call 'InsertSubProperty' in 'PropertyObject' of 'NI TestStand 2014 API.

    The name of the element "VariableName" is not valid because it is already in use.

    I interpret this error message means that the variable I am trying to dynamically create the DUT2 track is already present race of DUT1.  I have a few questions about this:

    1. at what point in the sequential process template are dynamically created variables flushed, such as run a further by using 'Single Pass' starts with a clean slate?

    2. is there a reminder that I can substitute such as variables to rinse after each HAD run, allowing me to dynamically create variables on each HAD, during execution using "Test UUT?

    3. better yet, is there a counter of TestStand I can query to determine if I already ran DUT1 when using "Test DUT", such as DUT2 uses the variables that were created dynamically on trail of DUT1?

    Or you can simply use the PropertyExists function as a precondition.

    PropertyExists ("Locals.Foo")

  • Read the Excel file

    Hi fellow coders, I need help on the topic of Excel files.

    Process of

    Read the Excel (5 worksheets) file > output is 5 table 2D > Covert table 2D in single array (Colum) > convert (String) data type of data (i/o, digital etc) > build Cluster table with table 2D data.

    I need help to interpret the secret 2D table in single table (Colum) > String convert to the relevant data type > building Cluster table with table 2D data.

    Happy coding

    Dave

    You could do something like this:

  • Graph of the Excel data with overlay of dynamic data acquisition

    Hi all

    I was next to the forum of Labview for about a year, it's the same with my programming so I'm a little rusty. I don't have someone code this for me, but just a quick plan high level to point me in the right direction.  I am able to work through the tutorials Excel etc.

    Task 1: Basically, I have a set of data Excel (2 to 6 columns of figures, not the time) I want to read in Labview and throw in a XY graph as the base model that remains visible all the time.  This data set is quite long, length vs. size (length is 100km, 1 m intervals). I essentially want a scroll X graph to display all of the data.

    Task 2: Acquire a direct serial data string which will be superimposed on the graph of task 1 model. Acquired essentially data comparing data in real time to previously.

    In the past, I made the simple projects with Excel data reading and also the reading of data in series.  What I'm not clear on is how to create the (static) graph with Excel data model while superimposing live data as it comes.  It is the basis of an annual check of the investigation process.

    Advice on the process would be appreciated so I'll be working through the nuts and bolts.

    Cheers for any help,
    Wes

    If you are worried that your data sets is too large, then run a test with simulated data to see how LV takes it. You might be surprised. In all cases, you should be aware that the chart control will need to redraw it with any changes you do anyway, and as far as I know, having a large amount of data is the main thing that can make a slow chart control. If you find that you have too much data, you might need to decimate it you based on how much you zoom before putting it in the graph.

  • How to import the excel with its property sheet

    HII

    My task is to import my excel sheet in the control of my frontpanal... but on the excel sheet to open I want to update my forehead pave...

    Essential is my excel worksheet contains cells with different colors in each cell... my task is to import this file because it is in my spreadsheet to my Panel object before labview excel...

    can any 1 suggest me an idea how to implement this task...

    The Microsoft Office Spreadsheet ActiveX control will not import an Excel workbook. If you choose to use a table of LabVIEW control or ActiveX control, you can manually read the data in your Excel workbook using ActiveX (for Excel 2003 and earlier versions), and then fill the control (whether it is a table of LabVIEW or spreadsheet ActiveX control). Then, still using ActiveX calls once you must browse your Excel spreadsheet and read cell background colors, and then define the cells of the table LabVIEW control or control ActiveX to be the same. This is done by using the properties of the controls.

    Bottom line: this is a very manual process. For example, the attached VI is one that I post quite often. It will read the data from an Excel worksheet, and place it in a table of LabVIEW Control.

    Another option is to simply use a web browser control and display the worksheet by using the Excel plugin browser, as this is explained in this article: using the browser control Microsoft Web to incorporate a spreadsheet Excel in LabVIEW.

    Question: Why do you need to do this? What you are trying to accomplish in the long term? Perhaps there is a better way to do it.

Maybe you are looking for