Quantcast
Channel: SCN : All Content - SAP Crystal Reports
Viewing all 4716 articles
Browse latest View live

crystal reports 10 and classic asp

$
0
0

I have anoldWindows 200332bitserverrunninga classicaspwebsiteThatusetheCrystal Reports 10activexviewerto displayITScrystal reports. TheadministratorofestasystemleftthecompanyandnowI needtomigrateestawebsiteAlong Withallthecrystal reportsintoanewserver(windows2008r2x64). So farI'vegottentheclassicasppagesupand runningon thenewserverbutIhave no ideahow torunthecrystal reports.

Whentryingto openareportI get theerror:AnErroroccurredon theserverWhenprocessingtheURL.Please contact thesystem administrator.
Ifyouarethesystem administratorplease click heretofindoutmoreabout thiserror.


Suppress duplicates detail field on same page but have field print once on additonal pages

$
0
0

How do I suppress a duplicate detail field (account number) if printed on same page but have that account number print once on any additional pages?  I was trying to compare pagenumber to previous page number but not sure how to do that.

Looking for a formula on a report

$
0
0

Hi,

 

I have the following formula  @sqft:

 

global stringvar etikettnr8;

numberVar sqft8 := 0;

 

 

if   {awbar_teile.etikettnr} = etikettnr8

then sqft8  := 0

else sqft8  := {pool_teile.breite}/304800 * {pool_teile.hoehe}/304800;

etikettnr8  := {awbar_teile.etikettnr};

sqft8;

 

It's on the detail line.

 

I have Summaries at Groups 1,2,3

 

It doesn't work consistantly, sometimes it 0's, sometimes not.  I can hit <F5><Enter>, and watch the total summary jump around.  The variables do not exist anywhere else in the report.

 

So, when I add WhilePrintinRecords, I get an error:

 

A summary has been specified on a non-recurring field.  Details: @sqft

 

i don't understand what this is telling me, noe do I understand how a field on a detail line could be non-recurring.

What is latest released/Supported version of Crystal Reports? (CR2013 SP4? or CR2016)

$
0
0

Hi,

 

We are using Crystal Reports 2013 SP4 in our software to generate reports programatically. Reviewed Links like these which explain how to get CR 2013 to work with Windows 10. So before i start doing the testing for Windows 10; I found info about  Crystal Reports 2016. Is this released? What is the difference btw CR2013 and CR2016. Please share the link related to Product Life Cycle plan/expiry for CR2013. Based on your inputs our organization chooses on moving to CR2016 or to stay back in CR2013

 

http://search.sap.com/ui/notes?id=0002198788&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303032313938373838&ssocompatible


http://scn.sap.com/docs/DOC-7824


Another question is; if we decide to Stay back on CR2013; what is the lastes Service Pack released. Please guide me on where to find it?  or provide the link where in i can download the Trial version (which would eventually be the lasets version and activate it by exisiting Key.

Crystal Report And Excel

$
0
0

I've made a report with some simple data from an excel-file and data from our Jeeves database.

 

When accessing the report from the developer tool everything works fine. But when trying to open the report from the Jeeves Client nothing happens. No message - nothing.

 

What is wrong???                   

Database Connector could not be loaded

$
0
0

Hi,

I'm trying to run one of the Auditing\Users crystal reports and I'm getting the error message:

Fail to load database information.

Details: The database connector 'crdb_v12_dsl_driver.dll' could not be loaded. The correct version of the database client for this database type might not be installed.

 

Now I don't know what this dll is, where it is found or even if it's been installed.

 

Can anyone help me with this.

 

Many thanks

 

Stuart

Would you have solution? When we export Crystal Report to Excel format that does not have page break.

$
0
0

Dear Customer Technical Support of Crystal Report Company:

 

 

A few year ago we had bought Crystal Report 2008 Enterprise Edition from your company; also, last year we had bought Crystal Report 2008 Service Pack (SP7) from your company too.

 

We are using Windows 2008 Stadard Edition 64-bit Server to run Visual Studio 2008 (ASP.NET 3.5) 32-bit web applications, we have installed Crystal Report 2008 and Crystal Report 2008 SP7 to Server already, we have a problem when we export Crystal Report to Excel Format, the Excel format report doesn't have page break and it only is showed up the last page number, but Word farmat and PDF format don't have the problem. On each Crystal Report we had set page break already that is included Excel format report.

 

Would you have solution about it?  Do we need install some Crystal Report patch software to solve the problem?  Would you have any solutions about it?

 

When you get a chance, please answer my quetions.

 

Thank you very much.

 

Best regards.

 

Jixing(Peter) Wang

Senior Database Administrator and Program III

Tetra Tech AMT Inc. in Arlington, VA 22209

 

Emails:

peter.ctr.wang@faa.gov

peterwang678@gmail.com

How to display a memo field in Crystal Reports

$
0
0

I am connected to a data source in uniPoint via ODBC (RDO) and cannot display contents of several memo fields I need data from.


Is it possible to suppress a group header based upon (possible) multiple conditions in the details section?

$
0
0

I have report with a group 1 and group 2. For formatting purposes group 2 header and details are suppress and all information is presented in the group 2 footer. I have set up the report to suppress the group 2 footer if a certain condition is met, The means that sometimes the entire section under the group 1 header is blank and I want to suppress it.

 

Here is how it is set up

 

Group 1 - Employee

Group 2 - Client (suppressed)

Details (suppressed)

Client name         field1            field 2        field 3      field 4

 

For fields 1-4 the are possible returns of "Draft", "Final" and null. I'm only looking for "Draft" and null values.

 

So how I've set up the group 2 footer is to just return the client name and a formula summing up the values of all four fields {@draft}

 

if {#divDraft} + {#convoDraft} + {#yearDraft} + {#rovDraft} >= 1 then "Draft"

else if {#divFinal} + {#convoFinal} + {#yearFinal} + {#rovFinal} >= 1 then "Final"

else " "

 

I then suppress the footer based upon {@draft} returning "final"

 

Is possible to suppress the group 1 header if every client in that group has either all four fields returned as null or at least one returned as draft?

 

 

I tried running a subreport and then placing that and a shared variable in the group 1 header but that didn't work right

 

WhilePrintingRecords;

Shared NumberVar totalSuppress;

Global NumberVar suppression;

suppression := Shared NumberVar totalSuppress;

 

The {@totalSuppress} formula in the shared report added the times at least one "draft" was returned with the number of times all four fields were null. I placed that in the footer of the subreport and then {@suppression} in the main report group header.

 

What I got was a pattern where the first group header was returned 0.00 where it had 4 results and 4.00 in the group footer. Then the next group had 4.00 in the group header where it had 1 result and 1.00 in the group footer. And the next one had 1.00 in the group header and so on.

 

I tried to do a formula to reset the variable with each group header. So I wrote

 

Global NumberVar suppression;

 

suppression := 0

 

But all that did was return 0.00's in the group header.

 

Any other ideas would be welcome.

How to calculate difference total in Crosstab

$
0
0

Hello,

 

I just started to learn CR at my work (almost a week ago) and this is my second thread. This is related to my first thread which already got the correct answer.  My first thread.

 

Now I need to add a column and name it "Diff".  This column supposed to subtract the sum of A (Actual) and F (Forecast) columns for YTD only.

 

Here is the image of my report which included the new column "Diff".

 

T2.png

 

Thanks for your help.

 

-- Jean

Crystal Report Cross Tab Custom Total

$
0
0

Scenario is,

  I want to make cross tab crystal report like below image

Report.png

I made cross tab report shown below but it showing obtain marks total only, I want proper percentage at end ((ObtainMarks/TotalMarks)*100)

crys.png

help me to sort out pls. im new to corss tab. Its my 4th day on seraching about this topiccr

Crystal Reports XI (11) export to Excel time format issue

$
0
0

We're using a Crystal Reports 11 Activex Plugin to view report data from a Mysql5.1 database in a classic asp web application running on Win2003 Server. The report shows the time correctly pulled from the database but when I try to export the report to Excel the time in the Excel file(.xls) is incorrect. In the report its 12:48:08PM but when export to Excel its 1/0/1900 12:00:00AM in the Excel file.

 

The Date and Time format in the report is set to System Default Short Format. I tried changing the format in the report to hh:mm:ss or h:mm:ss pm but the exporting to Excel still doesn't report the time to be the same as the report.

Any help is appreciated.

Display field parameter description in report

$
0
0

Hi experts,

 

I have some reports that I need insert in the header of report, the filters selected by the user.

For example I have the following filter:

 

Client@SELECT 'Todos' AS CardCode, 'Todos' AS CardName UNION ALL SELECT CardCode, CardName FROM OCRD WHERE CardType = 'C'

 

My filter doesn't allow multi selection. In my report I want to show the CardName selected, but the parameter field returns the CardCode.

 

Is it possible get the CardName by the parameter field? The CardName is just to show to the user.

 

P.S: I use the CardCode in where clause of my report query.

 

Best Regards,

Diego Lother

how to get the missing dates in crystal report.

$
0
0

Can anyone please explain me how to get the missing days in crystal report. I can not use crystal report function to get the missing dates because i want to use missing dates in CR formula. Please find below a structure of report.

How to update XML data source at run-time

$
0
0

Hi,

I am writing a program that will export a report using a XML data source.  I have designed a simple one table report to demonstrate this feature.  Unfortunately, I cannot seem to figure out how to feed an updated XML file to the report at run-time.  The following is a code snippet showing what I am trying to do.

 

 

// open the report file

ReportDocument rd = new ReportDocument();

rd.Load(@"Report1.rpt");

 

 

// read the xml data

DataSet reportData = new DataSet();

reportData.ReadXml(@"Report1.xml");

 

 

// update the report with the new data

rd.Database.Tables[0].SetDataSource(reportData.Tables[0]);

          

// export the report

ExportOptions CrExportOptions;

DiskFileDestinationOptions CrDiskFileDestinationOptions = new DiskFileDestinationOptions();

PdfRtfWordFormatOptions CrFormatTypeOptions = new PdfRtfWordFormatOptions();

CrDiskFileDestinationOptions.DiskFileName = "Report1.pdf";

CrExportOptions = rd.ExportOptions;

{

    CrExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;

    CrExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat;

    CrExportOptions.DestinationOptions = CrDiskFileDestinationOptions;

    CrExportOptions.FormatOptions = CrFormatTypeOptions;

}

rd.Export();

System.Console.WriteLine("file exported");

 

 

The following exception is raised when execution reaches the Export() function.

 

 

CrystalDecisions.CrystalReports.Engine.DataSourceException was unhandled

  HResult=-2147215616

  Message=Failed to load database information.

Error in File Report1 {A9470C9B-2CDE-458C-831C-35B3FC75F2BC}.rpt:

Failed to load database information.

  Source=CrystalDecisions.ReportAppServer.DataSetConversion

  StackTrace:

      at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)

      at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)

      at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)

      at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)

      at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()

      at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export()

      at CrystalApp.Program.Main(String[] args) in c:\CrystalApp\Program.cs:line 39

      at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)

      at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)

      at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()

      at System.Threading.ThreadHelper.ThreadStart_Context(Object state)

      at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

      at System.Threading.ThreadHelper.ThreadStart()

  InnerException: System.Runtime.InteropServices.COMException

      HResult=-2147482931

      Message=Failed to load database information.

Error in File Report1 {A9470C9B-2CDE-458C-831C-35B3FC75F2BC}.rpt:

Failed to load database information.

      Source=""

      ErrorCode=-2147482931

      StackTrace:

            at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)

            at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)

      InnerException:

 

 

Any insight on this error would be greatly appreciated.

 

Thx.


cross tab need to display the data ytd grouping by month

$
0
0

Hi All,

 

I have two columns data, which i need to show like this ytd grouping by month

 

January

 

cross tab.PNG

FEb:

 

with feb values

 

 

Thanks every one for all your help

 

Best Regards,

Nanda

How to retrieve data similar to SQL "Where" clause in crystal

$
0
0

Hi All,

 

I have created a report from multiple tables that has the following fields:

 

Employee_Name, Request_ID, Type, Status and Date.

 

The Employee Name column is coming from the Employees table that is joined with an intermediary table called Audit. This Audit table is in turn joined with the Status table.

 

I have a requirement where i need to return the employee column twice in the report where the status In [1, 101] and the other employee name column where the status in [4, 7]

 

Is there any method to write a formula or something else to return the names of employees as per the above requirement?

Linking with a Specific ID

$
0
0

We have a view in our ERP that's used to print raw material labels.  We are receiving multiple cylinders but actually receiving 1 cylinder at a time.  We are receiving one at a time so we can mark each with a cylinder # that's assigned by the manufacturer.  This cylinder # is being put into the field, CUSER3 in the FGMULTI table.  Hence, each tank has a unique FGMULTI_ID because each has a different CUSER3 field.

 

However, each tank has the same ARINVT_ID since each has the same lot number.

 

However, in the view we have to use when we recieve this, it seems the only relevant ID field is the ARINVT_ID but this isn't unique to each tank so the crystal report is printing 12, 13, 14 (incremental) every time we go to print another tank because that same ARINVT_ID has 9,10 and so on similar fields in the FGMULTI table.  So in the crystal reports view, it shows 9 labels, but then has you cycle through 197 individual pages because it's taking the ARINVT_ID and multiplying it by all the different FGMULTI_ID's.

 

I've looked at the other possible keys in the V_LMINVTRY_PURCHASED view but nothing has worked to try and differentiate each label.

 

Does anyone have a recommendation for something we could try or has dealt with a similar situation?  It seems I cannot attach the Crystal Report here.

 

I am trying to use 4 tables in the image below.

Table Linking.JPG

Crystal Report subreport

$
0
0

I have a report pulling information and have a two folded question

Example:

     Incident     Incident Nature             When Reported       Offense     Circum    

16XX00XX1   ANIM COMP 15          1/29/2016 15:17:52     ANPR     ANSTL

 

16XX00XX6     SUSP CIRC 15          1/29/2016 16:42:35     SUSP     ARHWY

 

16XX00XX7   PREM CHEC 15          1/29/2016 23:29:09     XPTR     ARBUS

16XX00XX7   PREM CHEC 15          1/29/2016 23:29:09     XPTR     ARGOV

 

16XX00XX8     TRAFFIC STOP          1/30/2016  15:04:36     TOFF     ARHWY

 

etc...

 

Some incidents have multiple Circum within - so:

Question 1

     How do I get the Circum field to show multiple items?  instead of creating multiple lines for each incident.  I thought this would be done with Section Expert but that appears to do it on all items not just CIRCUM field.

 

Question 2

     How would I go about getting a footer or some other area to list each Circum with a total number used within the reporting period?  So group all ARHWY and put count of 2, ARBUS count 1 etc....

Crystal report Dynamic prompt not displaying after publishing to enterprise

$
0
0

I am using dynamic prompt in crystal report and while publishing that report to enterprise the dynamic prompt is not there .

 

also checked with movement of report from promothin management

 

environment SAP BO 4.1 SP3

Viewing all 4716 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>