Converting concurrent program (rdf report) output from text to xml takes long time to produce result - oracle-apps

I have a rdf report ( Receiving Account Distribution Report ) which has text output. I want to get the output of that report in EXCEL. What I have done is:
a. Changed the output type of concurrent program to XML
b. Created a RTF template
c. Assigned the rtf template to the template/data definition which I created for the concurrent program
Now I am getting the output in xls but issue is that report is taking too long time to complete. Seeded Oracle report ( original report in text format) gets complete in few minutes.
While new reports takes up to 8hrs.
Do I have to add anything else in the rdf report to support xml output instead of text ?
Also When I change the output format from 'Text' to 'XML' I am not able to remove the style.

Related

Writing a program for a report card by entering the student's name and their respective marks by using key values generated by the user in dictionary

i wrote this code exactly shown in the youtube by the person.But he got the output and when I executed the code my syntax is error.whats the solution

Subscript and Superscript format data uploaded in Excel not showing

I want to import an excel sheet that contains data in subscript and superscript format. I want directly import the formula from Excel not by cropping as image. I am getting like this without any formating (a+b)2=a2+b2+2ab.
The application runs on the ASP.net framework and MS SQL database. Datatype for the column in SQL is nvarchar.
Appreciate if somebody can please help/guide me out of this issue.
Thank you!
If you view the Excel sheet and it looks like:
then what you are exporting is the string in the Formula Bar and not what you see in the cell. You need to modify the export to tell the destination app to display superscripting.
For example, if the destination app interprets HTML, then you should export:
(a+b)<sup>2</sup>=a<sup>2</sup>+b<sup>2</sup>+2ab
(its still a simple string, but the formatting instructions are part of the string)
If the destination app needs rtf, then a different format needs to be exported.

MS Access autocorrects html and displays p< as p<> in plain text memo field

Users enter statistical data into a MS Access database memo field that contains examples like this (p<0.001). For some reason Access displays this in the form or report as (p><0.001). It doesn't happen for the first example of p< in a memo field - only on the subsequent instances. This also causes any text after the final > not to be displayed on reports.
From what I can tell it is doing some strange autocorrect of html by attempting to complete the <p>!
Interestingly the data in the underlying table is correct. The field is formatted as plain text.
Does anyone have any thoughts on how to prevent this?
Thanks.

how to remove Date Column gives Error in Rdlc report? and want to display mysql date in Report

I am using asp.net and mysql. In Rdlc report i can't able to display the Date.
First of all it gives an error Like Can't able to convert mysql date to system.date. so i add Allow Zero Datetime=true; in connection string. now the report shows...
But its display #Error in the Report column.
DataSet Name is - mcubicDataSet.xsd
DataDable Name is - fo_reserv
Preview Data in VS2010 : -
Rdlc report :-
There are two instances when this happened to me, and 3 solutions
The rdlc report is bound to a dataset that is generated by Visual Studio through your MySql connector. Sometimes the dataset that is created has date columns with the MySqlDateTime instead of the default System.DateTime.
To see this Open Your Report.rdlc, then view report data (Ctrl+Alt+D) to see the dataSet, right click for properties then check the datatypes in the columns.
Go to the file that represents the data source where the dataset comes from and open the designer file in the coding window. In my case mine is called pos_dbDataSet.xsd, with a designer file called pos_dbDataSet.Designer.cs Once you open it you can do a string replacement (Ctrl + H) on the date dataTypes find: MySql.Data.Types.MySqlDateTime relpace with: System.DateTime .
Be careful to Replace all in the Current Document ONLY. Though this change may not refrect on your report dataset, the report should run.
2. Use the DataSource Configuration Wizard to rebuild the DataSource/Datasets.
(Less likely) The rdlc report uses the date formats of your operating system, hence there might be a conflict between the MySql format and the OS format. What resolved the issue for me was changing my datetime formats on the Calender or Region settings of my computer to better match the database formats. I was using UK formats and changed to US formats.
Calender/Format Settings
Change the fieldtype in database from datetime to text . this error occours because of fieldtype mismatch .

fill a custom excel template from sql server proc with multiple result sets?

A stored proc (SQL Server 2008) returns multiple result sets.
An Excel (.xls) file with custom formatting - not a generic workbook, not a spreadsheet built on the fly - has particular cells on particular
worksheets where I need to correctly "paste" each appropriate result set
from the stored proc. The worksheets designated for holding data need to
receive the data, and then other worksheets in the workbook will display the data
with a high degree of formatting and with charts.
For example:
result set 1 needs to be pasted in a worksheet named 'data01'
and beginning at cell B2;
result set 2 needs to be pasted 'data01'
and beginning at cell K2;
result set 3 needs to be pasted in a worksheet named 'data02'
and beginning at cell B2...
What are some approaches for tackling this problem
in a .NET environment? I have not found examples
or lessons which duplicate this scenario.
Update:
Essentially I'm wondering if it's possible to do what
SpreadsheetGear does with an excel template, without
having to pay thousands for a third party tool.
http://www.spreadsheetgear.com/support/samples/excel.aspx
Importing and Exporting Data by Using the SQL Server Import and Export Wizard
Exporting SQL Server Data to Excel (SQL Server Video)
On Zach Hunter's blog,
http://zachhunter.net/
he has a number of posts on how to make user of NPOI.
http://npoi.codeplex.com/
In particular, these two articles were invaluable:
"Use NPOI to populate an Excel template"
http://www.zachhunter.net/2010/05/npoi-excel-template/
"Improved NPOI ExportToExcel Function"
http://www.zachhunter.net/2010/06/improved-npoi-exportdatatabletoexcel-function/

Resources