IR Export To Excel error
We have an IR in Apex 4.1 which contains 99 report columns, and 1000+ rows.
The IR displays correctly on the screen, and when we try and Download to CSV it works ok (we get all columns and rows).
But when we try and Download to Excel we get;
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
If i reduce the number of columns to 40 or less the Download works ok. It appears there is limit in either number of columns or row size but i can't find a definitive answer anywhere.
Anyone shed any light on this?
TIA
Hi,
You have created icons alright but from the code i see that you haven't called any function to execute the action.. I am not sure whether WAD 3.5 has these preconfigured icons where you can just drag and drop these functionalities... I guess you have to call these functions..
Generally when a 'Submit' button is clicked in a web page it calls a program (Ex submit.asp or submit.aspx) in the background where the given details is submitted to a database...
Regards,
Kishore
Similar Messages
-
Export to Excel Error in SQL Server 2014 Report Builder/Viewer
Hi,
I am using the 2014 version of ReportViewer in a WinForm to display an RDL report.
The report was originally created in Report Builder 2.0 (SQL 2008 R2), but has since been edited in Report Builder 3.0 (SQL 2014).
The report loads and displays OK, and even exports to Word and PDF. But when exporting to Excel and then opening the Excel document, the following error occurs:
"We found a problem with some content in <filename>. Do you want us to try and recover as much as we can? If you trust the source of this workbook, click Yes."
If you click Yes, then a second message appears:
"Removed Part: /xl/styles.xml part. (Styles)
Repaired Records: Cell information from /xl/worksheets/sheet1.xml part"
The Excel document then opens, and the data is there, but there is no formatting (no border columns, colours, bolds etc.)
The three interesting things are:
- When exported from SQL 2008 R2 Report Builder 3.0, which exports to .xsl instead of .xslx, it works
- A brand new report created in 2014 Report Builder 3.0 exports to .xslx great
- In Report Builder 2014, I stripped everything back and removed all rows and columns so the original table in the report only has one empty row and column it the export still errors - it is only by removing the original table and creating a brand new table
that export works OK
It appears to be a problem with the tablix, but ideally we don't want to have to recreate our reports from scratch to fix this issue.
Has anyone come across an issue like this before, and know of any potential resolutions to it?
Thank you.Hello,
Based on your description, you render a report originally created in Report Builder 2.0 (SQL 2008 R2) and export the report to excel with format of Excel 2007-2010.
Edit the report in Report Builder will not upgrader the report. In that case the report still with SSRS 2008 R2 RDL schema. Please try to upgrade the report by open the report in Report Designer in SQL Server Data Tools (SSDT) and then try again.
If you don’t want to upgrade the report, please try to export the report
with Excel 2003 rendering extension and check if the issue persists.
The SQL Server 2014 and SQL Server 2012 Reporting Services Excel rendering extension renders a report to the native format of Microsoft Excel 2007-2010 with .xlsx as file extension. Only the Excel rendering extension is available by default.
You must update the Reporting Services configuration files to make the Excel 2003 rendering extension available.
For example, changing the value of Visible to
true in the following line in the RSReportServer.config:
<Extension Name="EXCEL" Type="Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer,Microsoft.ReportingServices.ExcelRendering"
Visible="true"/>
Reference:Upgrade Reports
Exporting to Microsoft Excel (Report Builder and SSRS)
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
SSRS 2008 R2:Export to excel error
Hello,
I have a report which has 28 columns, one expression for generating alternate row colors, 2 images in the page header. Users are able to render the report in report manager url with in 20 seconds but they are unable to export the report to excel even with
a data of just 7000 rows.We are getting the following error: Internet explorer cannot download YearToDate report The connection with the server was reset. We are currently using sql server 2008 r2 10.50.2500. I have modified database connection
timeout to 900 ,httpRuntimeexecutionTimeout="9000", maxRequestLength="102400" , iis connection timeout is 900 sec. We found that If we subscribe the report as email in excel format then we are getting the report but users requirement
is export to excel from report manager only.
Please Help !!
Thanks a lot in advance.Hi Satyadevs,
If I understand correctly, when you try to export a report to excel on Report Manager, you have received the error message. And when you examine the Report Server log, the log indicates that the export request was fulfilled.
The following KB is about a similar issue: FIX: Error message when you try to export a SQL Server 2008 Reporting Services report by using Report Manager: "Internet Explorer cannot download <ReportName>.xls
from <URL>"
In Microsoft SQL Server 2008 Reporting Services, when you try to export a report by using Report Manager, you receive the following error message:
Internet Explorer cannot download ReportName.xls from URL.
The connection with the server was reset.
However, when you examine the Report Server log, the log indicates that the export request was fulfilled.
The fix for this issue was first released in Cumulative Update 2. Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 fix release. We recommend
that you consider applying the most recent fix release that contains this hotfix:
Cumulative update package 10 for SQL Server 2008
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Crystal Report Export To Excel Error: "Error detected by Export DDL"
I have a windows application in .Net 2003, whenever i export the crystal report on my development machine or other windows xp machines it runs smoothly, but when i deploy the application on client's machine having windows vista installed, it displays error of "Error in file........., Error detected by export DLL"
pls help me.First thing to look at is the wiki [What versions of Crystal Reports are supported on Windows Vista in VS .NET?|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=64259646].
Note that CR 9.1 is not supported on Vista. And if CR 9.1 is not supported on Vista, any earlier version of CR will also not be supported on Vista. That is not to say the app(s) will not work, they may - or not. You never know... and we have no experience with these types of installs as we don't need to have it.
Next, have a look at KBase [1205312 - "Error detected by export DLL" while exporting to Excel after applying SP2 on Windows 2003 Server|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303335333333313332%7D.do]. Not exactly the same OS, but I'd follow through on the suggestions in that KB anyhow.
Finally, If this app works on a Vista box when a VB 6 app is not installed, compare the dlls loaded between that box and the one that has both apps. Use [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] to do that.
Other than that, only suggestion I have is to upgrade to a version of CR that does support Vista.
- Ludek -
Export to excel error - NOT windows 2003 server
hello everyone, I'm facing this kind of prblem: exporting to excel gives an error. no error when exporting in pdf or rtf. I read a number of threads on the matter: a hotfix was released to solve the problem on windows2003 server, which is not the case here. The used system is winxp sp3. I've also read that goig back to a sp2 might solve the problem, but that's certainly not an option. Anybody has any idea?
using:
windows xp sp3
.net framework 2
crystal report XI (not embedded)
visual c# 2005
thanks in advanceWith .NET 2005, you have to move on to CR XI r2 (11.5). No sense continuing with CR 11.0. As you already have CR 11.0, you can download CR XI r2 for free from here:
https://smpdl.sap-ag.de/~sapidp/012002523100006008462008E/crxir2.zip
Uninstall CR 11.0 before installing CR 11.5. Use your CR 11.0 keycode when installing CR 11.5.
Once you have CR 11.5 installed, check the version. I want you to be at 11.5.1838 (I am not sure of the exact SP that is in the download). If you are at a lower version, apply SP 6 from here:
https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
The references in you r.NET project should be 11.5.3700.0. See how things go in your app once you are at CR 11.5.
As an FYI.; Sp 6 runtime;
msm:
https://smpdl.sap-ag.de/~sapidp/012002523100000634042010E/crxir2sp6_net_mm.zip
msi:
https://smpdl.sap-ag.de/~sapidp/012002523100000633302010E/crxir2sp6_net_si.zip
Ludek -
MSS Report Export to excel - ERROR - load: class query not found
Hi All,
I am navigating and getting error as follows:
Manger Services ->My reports -> Report Selection -> HIS Reports -> General -> Employee Details -> add some people and click start report -> report shows -> click local file -> save as spreadsheet get ERROR - load: class query not found in the status bar or IE and IE then locks up
Please reply if any one has some clue.
Thanks & Regards,
VishalHey Vishal,
This issue gave us a very hard time. The query was HRIS manager. when you add some attributes to be exported to excel and then select export. It hangs there. or hangs at the step where you select save as spreadsheet, OR after it where it runs a query to export.
I came to know that Java JRE is used in the last step. So for solving this issue, go to java.com, on the first screen there will be big link to install java(i guess JRE). install it and then try exporting your query. I am sure it will work.
Just notice that after doing installation of Java you will get coffee cup in you system tray.
Thanks.
Ankur.
P.S. Points if works. -
Crystal Report export into excel error
Dear All,
please suggested Me below issues.
i created crystal report for sales employee.report is coming correct but while export to excel is showing alignment problem.same report export to pdf is good.i want to export this report to excel without change the alignment.How plz suggested me how to do this?
Thanks&Regards,
P.Prataphi taruna and pankaj
Thank you for your valuable replies.
i have deleted all space's between fields in report and While Exporting crystal report into excel i selected Microsoft Excel Data only Option.
Now report is exported without changing alignment.
Thanks& Regards,
P.Pratap -
Export to excel : Error no class found
Hello Experts,
I am facing a problem while exporting the data into excel sheet.
DC1 : i have created library dc which contains jxl.jar file in library folder
DC2 : j2ee library DC--->DC1 is the used dc in this and DC2 build and deployed successfully
DC3 : webdynpro dc -->DC1 and DC2s are used DC (checked build time and runtime)
error :
The initial exception that caused the request to fail, was:
java.lang.NoClassDefFoundError: jxl/format/CellFormat
at com.pasteur.sku.global.wd.app.wdp.InternalVTab_Bord_SKU.<init>(InternalVTab_Bord_SKU.java:462)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
Both DC2 and DC3 s are successfully build and deployed
How to confirm that the jar file is exist in j2ee library by using visual admin
please help me out to fix the issue
Thanks in advance for your reply.
Regards,
Fayaz Shaik.Then, its because at runtime when the application tried to look for the external api containing the excel methods then it does not find the jar on the server.
The compiler works as the IDE is able to locate it within its folders.
Check the deploy DC. Build a separate DC and try it. Check if the necessary references(if any any) are configured. - No direct solution, just Plain Old, keep doing it again and again till you find the actual issue.
All the best.
Regards,
Sharath -
I cannot convert a pdf to Excel. I just went through the process of buying the required software. Can someone help?
Hi ,
Could you please elaborate more about the issue ?What exactly are you trying to perform and how are you trying to do the same?
Are you using Adobe Reader or Adobe Acrobat to export PDF to excel?
What software version are you using?
Also ,could you please tell what is that error message and it would be wonderful if you could share the screenshot of the error message with us so that we can assist you accordingly .
I would also like to know what OS do you work on ?
Is it happening with all kinds of PDF you are trying to convert or any specific one?
Please update me with above mentioned details so that we can assist you further .
Regards
Sukrit Dhingra -
Web Report export to Excel error
Hello:
I face the problem as follow:
When I export web report to excel and open it. The characteristic value no display, and the key figure as usually.
How to solve this problem? Hope anyone can give me some advices!
Regards&Thanks!
zagoryHello:
EXP:
A(context menu) B C(Key Figure)
ablank ablank 2000
ablank ablank 5000
Hope anyone can give me some advice to solve this problem.
Regards&Thanks!
zagory -
There is a standard functionality in crm 7.0 - export to Excel of search results.
Export to Excel doesn't work on some client computers.
Error of coding to excel document.
Client computers:
1.WinXP SP3
2. MS Excel 2003 (11.8169.8172) SP3
3. IE 7.0.5730.11
Options identical on computers (language, safety options of windows and excel).
I can not find a solution of a problem. Help me, please.Hi,
May I know the detailed error?
There will be an error message?
Or no data transported into excel?
Or some data can't be exported into excel?
what is the file, is it csv or xls?
If the problem only happens to csv, please try to set
Internet Options -> Security -> <<select sites>> -> Custom Level...
->
Initialize and script ActiveX controls not marked as safe for scripting
please set it as Enable.
And there is a note 1403747 which can solve sometimes there is no data exported into excel error.
if it is some data can't be exported to excel, are there special characters? like " -, please change to xls and retest.
If still not help, please try to debug into
CL_CHTMLB_XML_PROVIDER
GET_XML_FROM_MODEL
and also some other methods in this class.
Hongyan -
After Export to Excel File error while opening using xmlwriter in silverlight
Can one help me in fixing following issue after to export to excel had done iam getting following error message
"The file you are trying to open, 'test.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do uou want to open the file now ?"
If i click Yes file opens correctly but it shows above message . Can any one suggest me how to avoid this programatically with the following code.
I tried by changing the file saving as .xls to .xlsx but it doesnt works.
Public Sub Export()
Dim ss As String = "urn:schemas-microsoft-com:office:spreadsheet"
Dim DataType As String
Dim DataValue As Object
'Dim DataView As C1.Silverlight.Data.DataView = m_DataGrid.ItemsSource
'Dim ItemsSource As C1.Silverlight.Data.DataTable = DataView.Table
Dim XmlSettings As XmlWriterSettings
Dim ColumnBinding As Binding
Dim FieldName As String
Dim DataGridColumn As C1.Silverlight.DataGrid.DataGridColumn
Dim ColumnIndex As Integer
Dim J As Integer
Dim DataGridRow As C1.Silverlight.DataGrid.DataGridRow
Dim CommonUtil As New GoldCRM.Core.Common.Util
Dim PropertyInfo As System.Reflection.PropertyInfo
Dim CellFormat As String
Try
If m_DataGrid.Rows.Count = 0 Then Exit Try
XmlSettings = New XmlWriterSettings
XmlSettings.Indent = True
XmlSettings.NewLineOnAttributes = False
Using myXML As XmlWriter = XmlWriter.Create(m_Stream, XmlSettings)
With myXML
.WriteStartDocument()
.WriteProcessingInstruction("mso-application", "progid=" & ControlChars.Quote & "Excel.Sheet" & ControlChars.Quote)
.WriteStartElement("Workbook", ss)
.WriteStartElement("DocumentProperties", "urn:schemas-microsoft-com:office:office")
.WriteElementString("Author", m_DocumentProperties.Author)
.WriteElementString("LastAuthor", String.Format("{0} {1}", Application.Current.Resources("EmpFirstName"), Application.Current.Resources("EmpLastName")))
.WriteElementString("Created", m_DocumentProperties.Created)
.WriteElementString("LastSaved", m_DocumentProperties.LastSaved)
.WriteElementString("Company", Application.Current.Resources("REPORTINGSITENAME"))
.WriteElementString("Version", m_DocumentProperties.Version)
.WriteEndElement() 'Document Properties
.WriteStartElement("ExcelWorkbook", "urn:schemas-microsoft-com:office:excel")
.WriteElementString("WindowHeight", m_WorkbookProperties.WindowHeight)
.WriteElementString("WindowWidth", m_WorkbookProperties.WindowWidth)
.WriteElementString("WindowTopX", m_WorkbookProperties.WindowTopX)
.WriteElementString("WindowTopY", m_WorkbookProperties.WindowTopY)
.WriteElementString("ProtectStructure", m_WorkbookProperties.ProtectStructure)
.WriteElementString("ProtectWindows", m_WorkbookProperties.ProtectWindows)
.WriteEndElement() 'Excel Workbook
.WriteStartElement("Styles")
For I As Integer = 0 To m_Styles.Count - 1
.WriteStartElement("Style")
.WriteAttributeString("ss", "ID", ss, m_Styles(I).ID)
If m_Styles(I).Name <> "" Then
.WriteAttributeString("ss", "Name", ss, m_Styles(I).Name)
End If
'ALIGNMENT LOGIC:
.WriteStartElement("Alignment")
If Not m_Styles(I).Alignment Is Nothing Then
If m_Styles(I).Alignment.Horizontal <> 0 Then
.WriteAttributeString("ss", "Horizontal", ss, m_Styles(I).Alignment.Horizontal.ToString)
End If
If m_Styles(I).Alignment.Vertical <> 0 Then
.WriteAttributeString("ss", "Vertical", ss, m_Styles(I).Alignment.Vertical.ToString)
End If
If m_Styles(I).Alignment.WrapText = True Then
.WriteAttributeString("ss", "WrapText", ss, "1")
End If
End If
.WriteEndElement()
'BORDER LOGIC:
.WriteStartElement("Borders")
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Bottom")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Left")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Right")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteStartElement("Border")
.WriteAttributeString("ss", "Position", ss, "Top")
.WriteAttributeString("ss", "LineStyle", ss, "Continuous")
.WriteAttributeString("ss", "Weight", ss, "1")
.WriteEndElement() 'Border
.WriteEndElement() 'Borders
'FONT LOGIC:
.WriteStartElement("Font")
Dim myFont As Excel.Styles.Font = m_Styles(I).Font
.WriteAttributeString("ss", "FontName", ss, myFont.FontName.ToString)
.WriteAttributeString("ss", "Size", ss, myFont.Size)
.WriteAttributeString("ss", "Color", ss, myFont.Color.ToString.Remove(1, 2))
If myFont.Bold = True Then .WriteAttributeString("ss", "Bold", ss, "1")
If myFont.Italic = True Then .WriteAttributeString("ss", "Italic", ss, "1")
If myFont.Underline <> 0 Then .WriteAttributeString("ss", "Underline", ss, myFont.Underline.ToString)
.WriteEndElement()
Dim myInterior As Excel.Styles.Interior = m_Styles(I).Interior
.WriteStartElement("Interior")
.WriteAttributeString("ss", "Color", ss, myInterior.Color.ToString.Remove(1, 2))
.WriteAttributeString("ss", "Pattern", ss, "Solid")
.WriteEndElement()
.WriteStartElement("NumberFormat")
.WriteEndElement()
.WriteStartElement("Protection")
.WriteEndElement()
.WriteEndElement() 'Style
Next I
.WriteStartElement("Style")
.WriteAttributeString("ss", "ID", ss, "DateStyle")
.WriteStartElement("NumberFormat")
.WriteAttributeString("ss", "Format", ss, "General Date")
.WriteEndElement() 'NumberFormat
.WriteEndElement() 'Style
.WriteStartElement("Style")
.WriteAttributeString("ss", "ID", ss, "HeaderStyle")
.WriteStartElement("Font")
.WriteAttributeString("x", "Family", ss, "Swiss")
.WriteAttributeString("ss", "Bold", ss, "1")
.WriteEndElement() 'Font
.WriteEndElement() 'Style
.WriteEndElement() 'Styles
'WORKSHEETS:
.WriteStartElement("Worksheet")
.WriteAttributeString("ss", "Name", ss, "WORKSHEET")
.WriteStartElement("Table")
.WriteAttributeString("ss", "ExpandedColumnCount", ss, m_DataGrid.Columns.Count)
.WriteAttributeString("ss", "ExpandedRowCount", ss, m_DataGrid.Rows.Count + 100) 'Temporary fix: sometimes 1 row is not added.
.WriteAttributeString("ss", "FullColumns", ss, m_DataGrid.Columns.Count)
.WriteAttributeString("ss", "FullRows", ss, m_DataGrid.Rows.Count + 100) 'Temporary fix: sometimes 1 row is not added.
.WriteAttributeString("ss", "DefaultRowHeight", ss, 15)
For Each DataGridColumn In m_DataGrid.Columns
If DataGridColumn.Visibility = Visibility.Visible Then
.WriteStartElement("Column")
If TypeOf DataGridColumn Is C1.Silverlight.DataGrid.DataGridNumericColumn Then
.WriteAttributeString("ss", "AutoFitWidth", ss, 1)
ElseIf TypeOf DataGridColumn Is C1.Silverlight.DataGrid.DataGridDateTimeColumn Then
.WriteAttributeString("ss", "AutoFitWidth", ss, 1)
Else
.WriteAttributeString("ss", "AutoFitWidth", ss, 0)
End If
If DataGridColumn.Width.Value <= 100 Then
.WriteAttributeString("ss", "Width", ss, 100)
Else
.WriteAttributeString("ss", "Width", ss, DataGridColumn.Width.Value)
End If
.WriteEndElement()
End If
Next
J = 0
For Each DataGridRow In m_DataGrid.Rows
J += 1
If TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow Then
.WriteStartElement("Row")
.WriteAttributeString("ss", "Index", ss, J)
.WriteAttributeString("ss", "AutoFitHeight", ss, 0)
.WriteAttributeString("ss", "Height", ss, 15)
ColumnIndex = 0
For Each DataGridColumn In m_DataGrid.Columns
If DataGridColumn.Visibility = Visibility.Visible Then
FieldName = String.Empty
If TypeOf DataGridColumn Is DataGridBoundColumn Then
ColumnBinding = TryCast(DataGridColumn, DataGridBoundColumn).Binding
If ColumnBinding.Path IsNot Nothing Then
FieldName = ColumnBinding.Path.Path
End If
ElseIf TypeOf DataGridColumn Is DataGridTemplateColumn Then
If DataGridColumn.FilterMemberPath IsNot Nothing Then
FieldName = DataGridColumn.FilterMemberPath.Trim
End If
End If
If Not FieldName.Equals(String.Empty) Then
ColumnIndex += 1
.WriteStartElement("Cell")
.WriteAttributeString("ss", "Index", ss, ColumnIndex)
.WriteAttributeString("ss", "MergeAcross", ss, 0)
.WriteAttributeString("ss", "StyleID", ss, "HeaderStyle")
.WriteStartElement("Data")
.WriteAttributeString("ss", "Type", ss, "String")
If DataGridColumn.Header IsNot Nothing Then
.WriteValue(DataGridColumn.Header.ToString)
Else
.WriteValue("")
End If
.WriteEndElement() 'Data
.WriteEndElement() 'Cell
End If
End If
Next
.WriteEndElement() 'Row
End If
If Not (TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow) Then
.WriteStartElement("Row")
.WriteAttributeString("ss", "Index", ss, J + 1)
.WriteAttributeString("ss", "AutoFitHeight", ss, 0)
.WriteAttributeString("ss", "Height", ss, 15)
ColumnIndex = 0
For Each DataGridColumn In m_DataGrid.Columns
If DataGridColumn.Visibility = Visibility.Visible Then
FieldName = String.Empty
If TypeOf DataGridColumn Is DataGridBoundColumn Then
ColumnBinding = TryCast(DataGridColumn, DataGridBoundColumn).Binding
If ColumnBinding.Path IsNot Nothing Then
FieldName = ColumnBinding.Path.Path
End If
ElseIf TypeOf DataGridColumn Is DataGridTemplateColumn Then
If DataGridColumn.FilterMemberPath IsNot Nothing Then
FieldName = DataGridColumn.FilterMemberPath.Trim
End If
End If
If Not FieldName.Equals(String.Empty) Then
ColumnIndex += 1
Dim DataCellValue As Object = Nothing
If Not (TypeOf DataGridRow Is GoldCRM.Controls.Filter.clsFilterRow) Then
PropertyInfo = CommonUtil.GetProperty(DataGridRow.DataItem, FieldName)
If PropertyInfo IsNot Nothing Then
DataCellValue = PropertyInfo.GetValue(DataGridRow.DataItem, Nothing)
End If
End If
CellFormat = String.Empty
If DataCellValue IsNot Nothing Then
Select Case DataCellValue.GetType.Name.ToUpper
Case "BitmapImage".ToUpper
DataValue = "Image"
DataType = "String"
Case "Hyperlink".ToUpper
DataType = "String"
DataValue = "Hyperlink"
Case "Decimal".ToUpper
DataType = "Number"
DataValue = DataCellValue
Case "DateTime".ToUpper
If CType(DataCellValue, Date).Year > 1900 Then
DataType = "DateTime"
DataValue = DataCellValue
CellFormat = "DateStyle"
Else
DataType = "String"
DataValue = DataCellValue
End If
Case Else
DataType = "String"
DataValue = DataCellValue
End Select
Else
DataType = "String"
DataValue = String.Empty
End If
.WriteStartElement("Cell")
.WriteAttributeString("ss", "Index", ss, ColumnIndex)
.WriteAttributeString("ss", "MergeAcross", ss, 0)
If Not CellFormat.Equals(String.Empty) Then
.WriteAttributeString("ss", "StyleID", ss, CellFormat)
End If
.WriteStartElement("Data")
.WriteAttributeString("ss", "Type", ss, DataType)
.WriteValue(DataValue)
.WriteEndElement() 'Data
.WriteEndElement() 'Cell
End If
End If
Next
.WriteEndElement() 'Row
End If
Next
.WriteEndElement() 'Table
.WriteEndElement() 'Worksheet
.WriteEndElement() 'Workbook
.WriteEndDocument()
.Close()
End With
End Using
Catch ex As Exception
Throw New Exception(ex.Message, ex)
Finally
If m_Stream IsNot Nothing Then
m_Stream.Close()
m_Stream.Dispose()
End If
m_Stream = Nothing
m_DataGrid.IsLoading = False
DataValue = Nothing
'DataView = Nothing
'ItemsSource = Nothing
XmlSettings = Nothing
ColumnBinding = Nothing
DataGridColumn = Nothing
End Try
End Sub
KrishnaHi,
i have the same issue now where i need to populate the xport file name as report name. can you send me your solution please. -
Microsoft excel error while exporting a FRS report from Planning to excel
I have multiple screen shots of the issue.
are getting issues when within citrix trying to run an FRS report from workspace into excel.
first they get a windows login window looking for credentials of a User name and a Password.
the first error:
"Could not open 'http:SERVERNAME:19000/hr/hrget/modules/com/hyperion/reporting/web/office/HROfficeReport.jsp/FOLDERNAMEandFILENAME.xls?format=excel.20028viewAs=excel&instanceId=11165278&previewDone=true'.
second error:
Microsoft Excel cannot access the file 'http:SERVERNAME:19000/hr/hrget/modules/com/hyperion/reporting/web/office/HROfficeReport.jsp/FOLDERNAMEandFILENAME.xls?format=excel.20028viewAs=excel&instanceId=11165278&previewDone=true'. There are several possible reasons:
The file name or path does not exist.
The file is being used by another person
The workbook you are trying to save has the same name as a currently open workbook.
Third error:
The file you are trying to open, 'FILENAME.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file do you want to open the file now?
yes , no, or help
I am trying to figure out if its a CITRIX issue? An EPM issue? or what
We have Office 2010 32 bit with smart view and excel add-in.
Does anybody know why this may occur? I have screen shots I just don't know how to post them.When you export a FR report to excel, yes, you will get a prompt for credentials, but as said in 11.1.2 HFR guide, you have to ignore that by clicking "Cancel" and then you will get a second warning pop-up saying "The file you are trying to open, 'FILENAME.xls', is in a different format ........"... Click on "Yes"... you should be able to see the report in excel....
Both these are known issues in HFR export to excel and you can find them in oracle features guide. And they are not related to Citrix.
As in Oracle HFR user guide "When exporting a Financial Reporting document to a Microsoft Office format (Excel, Word or PowerPoint), when using Microsoft Office 2007, you may receive the following warning: "The file your are trying to open <filename>, is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?". This warning notifies users that, although the file has an Office extension ( ".xls", ".doc" or ".ppt"), the content of the file is different from the expected (native) Office format. Although Financial Reporting reports are generated in an MHTML format during export, this is not a security concern. Microsoft Office is just warning a user of a file format that is different than expected. Upon selecting “Yes” in the warning, the file will successfully open in Microsoft Office."
Thanks,
Siva -
Crystal Report: Error while Export to Excel
We are using combination of Crystal Report 10 With
J2EE, Below source code is working fine While
exporting to PDF, MSWord, RTF format.
if(selectedFormat.equals("MSWORD"))
exportOptions.setExportFormatType(ReportExportFormat.MSWord);
if(iPageFrom>0 && iPageTo>0)
RTFWordExportFormatOptions RTFExpOpts=new
RTFWordExportFormatOptions();
RTFExpOpts.setStartPageNumber(iPageFrom);
RTFExpOpts.setEndPageNumber(iPageTo);
exportOptions.setFormatOptions(RTFExpOpts);
But am getting following error while exporting report
to Excel
com.crystaldecisions.report.web.viewer.ReportExportControl
Invalid post back event : {0}
We would like to know, Is SDK feasible for exporting
to excel or not ?
If yes! then Please suggest us for same.
Thanks In advance :)I will make sure that I am on the latest patch ie SP4
https://smpdl.sap-ag.de/~sapidp/012002523100008782452011E/cr2008sp4.exe
You can find the rumtimes here:
MSI:
https://smpdl.sap-ag.de/~sapidp/012002523100008782532011E/cr2008sp4_redist.zip
MSM:
https://smpdl.sap-ag.de/~sapidp/012002523100008782522011E/cr2008sp4_mm.zip
ClickOnce
https://smpdl.sap-ag.de/~sapidp/012002523100008782442011E/cr2008sp4_clickonce.zip
Recompile the app and then deploy.
What is the .NET Framework used by the application?
Method of deployment?
OS where app is deployed, x86 or x64?
Are you able to export the report from designer ie CR2008 Standalone?
- Saurabh -
Getting error while export to excel
I have a report which following exprort to excel. I am following http://deneskubicek.blogspot.com/2007/03/export-to-excel-instaad-of-csv-or-txt.html
above link example. In the read me file they mentioned that
• If the reports have a group by clause included, you need to modify the package and use v(‘ITEM’) syntax instead of (SELECT v(‘ITEM’) FROM DUAL):
I found "from dual" statement in package at one place so how can i modify the query as per the above statment. I am getting the actual error as below.
v_sql :=
REPLACE (v_sql,
UPPER (v_names (i)),
'(SELECT v('''
|| LTRIM (v_names (i), ':')
|| ''') FROM DUAL)'
Report Values Error: ORA-06550: Zeile 1, Spalte 170: PL/SQL: ORA-00936: Ausdruck fehlt ORA-06550: Zeile 1, Spalte 162: PL/SQL: SQL Statement ignored / -6550 / select from ( SELECT FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER ,MAX(AWARD_SHORT_NAME) ,MAX(TASK_NUMBER) TASK_NUMBER ,MAX(BOND_PROCEEDS) BOND_PROCEEDS ,MAX(PROJ_OWNING_CATEGORY) PROJ_OWNING_CATEGORY ,MAX(SCHOOL_DEPT) SCHOOL_DEPT ,MAX(GA_PPU_PERC) GA_PPU_PERC ,MAX(GA_SERA_PPU_PERC) GA_SERA_PPU_PERC ,MAX(GA_MATCH_SERA_PPU_PERC) GA_MATCH_SERA_PPU_PERC ,MAX(CURR_EXPENDITURE_GIFT) CURR_EXPENDITURE_GIFT ,MAX(CURR_EXPENDITURE_UNIV) CURR_EXPENDITURE_UNIV ,MAX(CURR_EXPENDITURE_EQTY) CURR_EXPENDITURE_EQTY ,MAX(SUBTOTAL_14) SUBTOTAL_14 ,MAX(TOTAL_DEBT_DRAW_AMT_TE) TOTAL_DEBT_DRAW_AMT_TE ,MAX(OTHER_TOTAL_DEBT_DRAW_AMT_TE) OTHER_TOTAL_DEBT_DRAW_AMT_TE ,MAX(SUBTOTAL_17) SUBTOTAL_17 ,MAX(SUBTOTAL_18) SUBTOTAL_18 ,MAX(GIFT_EQTY_PERCENT) GIFT_EQTY_PERCENT ,MAX(UNIV_EQTY_PERCENT) UNIV_EQTY_PERCENT ,MAX(NON_TE_EQTY_PERCENT) NON_TE_EQTY_PERCENT ,MAX(subtotal_22) subtotal_22 ,MAX(CURR_TE_BOND_PERCENT) CURR_TE_BOND_PERCENT ,MAX(OTH_TE_BOND_PERCENT) OTH_TE_BOND_PERCENT ,MAX(SUBTOTAL_25) SUBTOTAL_25 ,MAX(organized_research_sqft) organized_research_sqft ,MAX(ga_sera_ppu_sqft) ga_sera_ppu_sqft ,MAX(dept_research_sqft) dept_research_sqft ,MAX(nse_sqft) nse_sqft ,MAX(common_sqft) common_sqft ,MAX(name_sqft) name_sqft ,MAX(other_sqft) other_sqft ,MAX(SUBTOTAL_36) SUBTOTAL_36 ,MAX(PI_ROOM_SQFT) PI_ROOM_SQFT ,MAX(Total_BLDG_SQFT) Total_BLDG_SQFT ,MAX(organized_research_perc) organized_research_perc ,MAX(ga_sera_ppu_percent) ga_sera_ppu_percent ,MAX(dept_research_perc) dept_research_perc ,MAX(nse_perc) nse_perc ,MAX(common_perc) common_perc ,MAX(name_perc) name_perc ,MAX(other_perc) other_perc ,MAX(Total_Bldg_perc) Total_Bldg_perc ,MAX(fed_state_spo_res_flag) fed_state_spo_res_flag ,MAX(corporate_spo_flag) corporate_spo_flag ,MAX(ppu_flag) ppu_flag ,MAX(in_service_date) in_service_date ,MAX(demolished) demolished from (select AWARD_SHORT_NAME ,AWARD_NUMBER ,PROJECT_NUMBER ,TASK_NUMBER ,TOTAL_DEBT_DRAW_AMT_TE+TOTAL_DEBT_DRAW_AMT_TX BOND_PROCEEDS ,PROJ_OWNING_CATEGORY ,SCHOOL_DEPT ,FACILITY_ID ,GA_PPU_PERC ,GA_SERA_PPU_PERC ,GA_MATCH_SERA_PPU_PERC ,CURR_EXPENDITURE_GIFT ,CURR_EXPENDITURE_UNIV ,CURR_EXPENDITURE_EQTY ,CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY as SUBTOTAL_14 ,TOTAL_DEBT_DRAW_AMT_TE ,OTHER_TOTAL_DEBT_DRAW_AMT_TE ,TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE SUBTOTAL_17 ,CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE SUBTOTAL_18 ,GIFT_EQTY_PERCENT ,UNIV_EQTY_PERCENT ,NON_TE_EQTY_PERCENT ,GIFT_EQTY_PERCENT+UNIV_EQTY_PERCENT+NON_TE_EQTY_PERCENT as subtotal_22 ,CURR_TE_BOND_PERCENT ,Case when (CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)<>0 THEN round(abs((OTHER_TOTAL_DEBT_DRAW_AMT_TE*100 )/(CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)),2) --DIVISOR EQUAL TO ZERO ELSE 0 END AS OTH_TE_BOND_PERCENT ,CURR_TE_BOND_PERCENT+Case when (CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)<>0 THEN round(abs((OTHER_TOTAL_DEBT_DRAW_AMT_TE*100 )/(CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)),2) --DIVISOR EQUAL TO ZERO ELSE 0 END as SUBTOTAL_25 ,organized_research_sqft ,ga_sera_ppu_sqft ,dept_research_sqft ,nse_sqft ,common_sqft ,name_sqft ,other_sqft ,organized_research_sqft+ga_sera_ppu_sqft+dept_research_sqft+common_sqft+name_sqft+name_sqft+other_sqft SUBTOTAL_36 ,PI_ROOM_SQFT --37 A (SUM OF PIR-ROOM_SQFT) ,sum(PI_ROOM_SQFT) as Total_BLDG_SQFT ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(organized_research_sqft*100/sum(PI_ROOM_SQFT)),2)) AS organized_research_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(ga_sera_ppu_sqft*100/sum(PI_ROOM_SQFT)),2)) AS ga_sera_ppu_percent ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(dept_research_sqft*100/sum(PI_ROOM_SQFT)),2)) AS dept_research_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(nse_sqft*100/sum(PI_ROOM_SQFT)),2)) AS nse_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(common_sqft*100/sum(PI_ROOM_SQFT)),2)) AS common_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(name_sqft*100/sum(PI_ROOM_SQFT)),2)) AS name_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(other_sqft*100/sum(PI_ROOM_SQFT)),2)) AS other_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(organized_research_sqft*100/sum(PI_ROOM_SQFT)),2))-decode(sum(PI_ROOM_SQFT),0,0,round(abs(other_sqft*100/sum(PI_ROOM_SQFT)),2)) AS Total_Bldg_perc--45 ,Case when ga_sera_fed_score>0 then 'Yes' Else 'No' END as fed_state_spo_res_flag ,Case when ga_sera_ct_score>0 or ga_sera_score>0 then 'Yes' Else 'No' END as corporate_spo_flag ,Case when ga_sera_fed_score>0 or ga_sera_ct_score>0 or ga_sera_score>0 then 'Yes' Else 'No' END as ppu_flag ,in_service_date ,demolished from XXDL_CD_PTA_BLDG_LSR_FY_V where project_number=decode((SELECT v('P19_PROJECT') FROM DUAL),'',project_number,(SELECT v('P19_PROJECT') FROM DUAL)) AND FACILITY_ID=decode((SELECT v('P19_FACILITY_ID') FROM DUAL),'',FACILITY_ID,(SELECT v('P19_FACILITY_ID') FROM DUAL)) AND AWARD_NUMBER=decode((SELECT v('P19_AWARD') FROM DUAL),'',AWARD_NUMBER,(SELECT v('P19_AWARD') FROM DUAL)) AND TASK_NUMBER=decode((SELECT v('P19_TOP_TASK') FROM DUAL),'',TASK_NUMBER,(SELECT v('P19_TOP_TASK') FROM DUAL)) Group by AWARD_SHORT_NAME ,AWARD_NUMBER ,PROJECT_NUMBER ,TASK_NUMBER ,TOTAL_DEBT_DRAW_AMT_TE ,TOTAL_DEBT_DRAW_AMT_TX ,PROJ_OWNING_CATEGORY ,SCHOOL_DEPT ,FACILITY_ID ,GA_PPU_PERC ,GA_SERA_PPU_PERC ,GA_MATCH_SERA_PPU_PERC ,CURR_EXPENDITURE_GIFT ,CURR_EXPENDITURE_UNIV ,CURR_EXPENDITURE_EQTY ,TOTAL_DEBT_DRAW_AMT_TE ,OTHER_TOTAL_DEBT_DRAW_AMT_TE ,GIFT_EQTY_PERCENT ,UNIV_EQTY_PERCENT ,NON_TE_EQTY_PERCENT ,CURR_TE_BOND_PERCENT ,organized_research_sqft ,ga_sera_ppu_sqft ,dept_research_sqft ,nse_sqft ,common_sqft ,name_sqft ,other_sqft ,PI_ROOM_SQFT ,ga_sera_fed_score ,ga_sera_ct_score ,ga_sera_score ,in_service_date ,demolished) Group by FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER Order by FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER ASC)Report Values Error: ORA-06550: Zeile 1, Spalte 170: PL/SQL: ORA-00936: Ausdruck fehlt ORA-06550: Zeile 1, Spalte 162: PL/SQL: SQL Statement ignored / -6550 / select from ( SELECT FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER ,MAX(AWARD_SHORT_NAME) ,MAX(TASK_NUMBER) TASK_NUMBER ,MAX(BOND_PROCEEDS) BOND_PROCEEDS ,MAX(PROJ_OWNING_CATEGORY) PROJ_OWNING_CATEGORY ,MAX(SCHOOL_DEPT) SCHOOL_DEPT ,MAX(GA_PPU_PERC) GA_PPU_PERC ,MAX(GA_SERA_PPU_PERC) GA_SERA_PPU_PERC ,MAX(GA_MATCH_SERA_PPU_PERC) GA_MATCH_SERA_PPU_PERC ,MAX(CURR_EXPENDITURE_GIFT) CURR_EXPENDITURE_GIFT ,MAX(CURR_EXPENDITURE_UNIV) CURR_EXPENDITURE_UNIV ,MAX(CURR_EXPENDITURE_EQTY) CURR_EXPENDITURE_EQTY ,MAX(SUBTOTAL_14) SUBTOTAL_14 ,MAX(TOTAL_DEBT_DRAW_AMT_TE) TOTAL_DEBT_DRAW_AMT_TE ,MAX(OTHER_TOTAL_DEBT_DRAW_AMT_TE) OTHER_TOTAL_DEBT_DRAW_AMT_TE ,MAX(SUBTOTAL_17) SUBTOTAL_17 ,MAX(SUBTOTAL_18) SUBTOTAL_18 ,MAX(GIFT_EQTY_PERCENT) GIFT_EQTY_PERCENT ,MAX(UNIV_EQTY_PERCENT) UNIV_EQTY_PERCENT ,MAX(NON_TE_EQTY_PERCENT) NON_TE_EQTY_PERCENT ,MAX(subtotal_22) subtotal_22 ,MAX(CURR_TE_BOND_PERCENT) CURR_TE_BOND_PERCENT ,MAX(OTH_TE_BOND_PERCENT) OTH_TE_BOND_PERCENT ,MAX(SUBTOTAL_25) SUBTOTAL_25 ,MAX(organized_research_sqft) organized_research_sqft ,MAX(ga_sera_ppu_sqft) ga_sera_ppu_sqft ,MAX(dept_research_sqft) dept_research_sqft ,MAX(nse_sqft) nse_sqft ,MAX(common_sqft) common_sqft ,MAX(name_sqft) name_sqft ,MAX(other_sqft) other_sqft ,MAX(SUBTOTAL_36) SUBTOTAL_36 ,MAX(PI_ROOM_SQFT) PI_ROOM_SQFT ,MAX(Total_BLDG_SQFT) Total_BLDG_SQFT ,MAX(organized_research_perc) organized_research_perc ,MAX(ga_sera_ppu_percent) ga_sera_ppu_percent ,MAX(dept_research_perc) dept_research_perc ,MAX(nse_perc) nse_perc ,MAX(common_perc) common_perc ,MAX(name_perc) name_perc ,MAX(other_perc) other_perc ,MAX(Total_Bldg_perc) Total_Bldg_perc ,MAX(fed_state_spo_res_flag) fed_state_spo_res_flag ,MAX(corporate_spo_flag) corporate_spo_flag ,MAX(ppu_flag) ppu_flag ,MAX(in_service_date) in_service_date ,MAX(demolished) demolished from (select AWARD_SHORT_NAME ,AWARD_NUMBER ,PROJECT_NUMBER ,TASK_NUMBER ,TOTAL_DEBT_DRAW_AMT_TE+TOTAL_DEBT_DRAW_AMT_TX BOND_PROCEEDS ,PROJ_OWNING_CATEGORY ,SCHOOL_DEPT ,FACILITY_ID ,GA_PPU_PERC ,GA_SERA_PPU_PERC ,GA_MATCH_SERA_PPU_PERC ,CURR_EXPENDITURE_GIFT ,CURR_EXPENDITURE_UNIV ,CURR_EXPENDITURE_EQTY ,CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY as SUBTOTAL_14 ,TOTAL_DEBT_DRAW_AMT_TE ,OTHER_TOTAL_DEBT_DRAW_AMT_TE ,TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE SUBTOTAL_17 ,CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE SUBTOTAL_18 ,GIFT_EQTY_PERCENT ,UNIV_EQTY_PERCENT ,NON_TE_EQTY_PERCENT ,GIFT_EQTY_PERCENT+UNIV_EQTY_PERCENT+NON_TE_EQTY_PERCENT as subtotal_22 ,CURR_TE_BOND_PERCENT ,Case when (CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)0 THEN round(abs((OTHER_TOTAL_DEBT_DRAW_AMT_TE*100 )/(CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)),2) --DIVISOR EQUAL TO ZERO ELSE 0 END AS OTH_TE_BOND_PERCENT ,CURR_TE_BOND_PERCENT+Case when (CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)0 THEN round(abs((OTHER_TOTAL_DEBT_DRAW_AMT_TE*100 )/(CURR_EXPENDITURE_GIFT+CURR_EXPENDITURE_UNIV+CURR_EXPENDITURE_EQTY+TOTAL_DEBT_DRAW_AMT_TE+OTHER_TOTAL_DEBT_DRAW_AMT_TE)),2) --DIVISOR EQUAL TO ZERO ELSE 0 END as SUBTOTAL_25 ,organized_research_sqft ,ga_sera_ppu_sqft ,dept_research_sqft ,nse_sqft ,common_sqft ,name_sqft ,other_sqft ,organized_research_sqft+ga_sera_ppu_sqft+dept_research_sqft+common_sqft+name_sqft+name_sqft+other_sqft SUBTOTAL_36 ,PI_ROOM_SQFT --37 A (SUM OF PIR-ROOM_SQFT) ,sum(PI_ROOM_SQFT) as Total_BLDG_SQFT ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(organized_research_sqft*100/sum(PI_ROOM_SQFT)),2)) AS organized_research_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(ga_sera_ppu_sqft*100/sum(PI_ROOM_SQFT)),2)) AS ga_sera_ppu_percent ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(dept_research_sqft*100/sum(PI_ROOM_SQFT)),2)) AS dept_research_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(nse_sqft*100/sum(PI_ROOM_SQFT)),2)) AS nse_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(common_sqft*100/sum(PI_ROOM_SQFT)),2)) AS common_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(name_sqft*100/sum(PI_ROOM_SQFT)),2)) AS name_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(other_sqft*100/sum(PI_ROOM_SQFT)),2)) AS other_perc ,decode(sum(PI_ROOM_SQFT),0,0,round(abs(organized_research_sqft*100/sum(PI_ROOM_SQFT)),2))-decode(sum(PI_ROOM_SQFT),0,0,round(abs(other_sqft*100/sum(PI_ROOM_SQFT)),2)) AS Total_Bldg_perc--45 ,Case when ga_sera_fed_score>0 then 'Yes' Else 'No' END as fed_state_spo_res_flag ,Case when ga_sera_ct_score>0 or ga_sera_score>0 then 'Yes' Else 'No' END as corporate_spo_flag ,Case when ga_sera_fed_score>0 or ga_sera_ct_score>0 or ga_sera_score>0 then 'Yes' Else 'No' END as ppu_flag ,in_service_date ,demolished from XXDL_CD_PTA_BLDG_LSR_FY_V where project_number=decode((SELECT v('P19_PROJECT') FROM DUAL),'',project_number,(SELECT v('P19_PROJECT') FROM DUAL)) AND FACILITY_ID=decode((SELECT v('P19_FACILITY_ID') FROM DUAL),'',FACILITY_ID,(SELECT v('P19_FACILITY_ID') FROM DUAL)) AND AWARD_NUMBER=decode((SELECT v('P19_AWARD') FROM DUAL),'',AWARD_NUMBER,(SELECT v('P19_AWARD') FROM DUAL)) AND TASK_NUMBER=decode((SELECT v('P19_TOP_TASK') FROM DUAL),'',TASK_NUMBER,(SELECT v('P19_TOP_TASK') FROM DUAL)) Group by AWARD_SHORT_NAME ,AWARD_NUMBER ,PROJECT_NUMBER ,TASK_NUMBER ,TOTAL_DEBT_DRAW_AMT_TE ,TOTAL_DEBT_DRAW_AMT_TX ,PROJ_OWNING_CATEGORY ,SCHOOL_DEPT ,FACILITY_ID ,GA_PPU_PERC ,GA_SERA_PPU_PERC ,GA_MATCH_SERA_PPU_PERC ,CURR_EXPENDITURE_GIFT ,CURR_EXPENDITURE_UNIV ,CURR_EXPENDITURE_EQTY ,TOTAL_DEBT_DRAW_AMT_TE ,OTHER_TOTAL_DEBT_DRAW_AMT_TE ,GIFT_EQTY_PERCENT ,UNIV_EQTY_PERCENT ,NON_TE_EQTY_PERCENT ,CURR_TE_BOND_PERCENT ,organized_research_sqft ,ga_sera_ppu_sqft ,dept_research_sqft ,nse_sqft ,common_sqft ,name_sqft ,other_sqft ,PI_ROOM_SQFT ,ga_sera_fed_score ,ga_sera_ct_score ,ga_sera_score ,in_service_date ,demolished) Group by FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER Order by FACILITY_ID ,PROJECT_NUMBER ,AWARD_NUMBER ASC)
^
|
|
missing columnyou are missing a column expression in your select statement. scroll to the right to see what i am referring to.
Maybe you are looking for
-
ORA-00604:error occurred at recursive SQL level 1ORA-01003:no stmnt parsed
Following PL/SQL block works fine when executed as SQL statement but throws 2147217900:ORA-00604: error occurred at recursive SQL level 1ORA-01003: no statement parsed error, when called from application (Visual Basic 6.0). Procedure xyz(pStartDt IN
-
everything that needs to be done on the keyboard is effected - letters, numbers, backspace, directionals, delete, home, end, page up, page down, '''all keys that are pressed more than once''' It does not matter what webpage I am on. PLEASE HELP this
-
How to clear the form fields which are not rendered
I have a creation form. There is a document_type list set up as a partial triger. When user change the document type, only the filed related to that document type will be rendered. This caused a problem when we need to clear the form . The input in t
-
Sequence of Customizing transports
Hi Community, I have a question on transports that has been boggling my mind and I haven't found a satisfactory response as yet online. Here is the scenario: Customizing TR 1 - Contains say plants Customizing TR2 - Con
-
how do i use my free 30 day trial of adobe reader x1?? when i try to edit a pdf it just asks me to buy the program?