Crystal 2008 & SQL

I am creating a report using Crystal Reports 2008 connecting via ODBC to a SQL database.  All of my fields are coming across correctly with exception of "Scheduled_Date", according to the Field Explorer in Crystal, it shows my field with a Field Type of "Number".  How can I change this in Crystal to a Date so it will display properly.  I can not make any changes in the SQL database as it is proprietary.
Help, I am new to Crystal reports.
Thanks,
Tom

Hi Thomas
In order to change the field type to date, create a formula as:
date()
and then use this formula in the designer.
Hope this helps!
Thanks
Poonam Thorat

Similar Messages

  • Crystal 2008 not showing a Hash Value correctly

    We are using a SQL database with Crystal 2008.
    The Problem:
    We are having some issues displays the hash value of a varchar(20) in our crystal reports. Every value in the field is either going to be a Null or 20 characters long. We are getting varying length characters, when it should not. And it is showing blank for some of the records when the double check shows that they exist.
    What can we do to make Crystal 2008 show these fields correctly? I can use a command but that is a temporary solution for a reoccuring problem with the field in question.
    Thank you for your time!
    Dan

    We use EncryptbyCert() function in SQL. It returns only a value that is either null or 20 characters long. That is all I am able to give for information about that.

  • Using Crystal 2008 to insert records into a table

    Hi,
    We have a unique need to use Crystal to insert records into a table. We have managed to test a report that can write into a temporary table.  This is done by using sql command object  and uses  the following code :
    INSERT INTO TEMP_TABLE  (ORDERID)
    VALUES ({?orderid})   (-- where orderid a parameter).
    This test report asks for an order id and then inserts the record perfectly fine.
    Now moving on to the real report - This report basically prints orders in batches and we want to insert order id into a temporary table to ensure we don't print orders that were already printed. To do this we created a sub report "insert orders" that has the above insert command. The main report passes the orderid to subreport and the idea is that the subreport would insert each time an order is passed. So if main report printed 50 orders ids, the then it would do 50 inserts individually into the temp table. 
    This however is NOT working. The report runs fine but there is no insert.  Our hunch is that  Crystal is not committing after every order id is passed from the main report.  Not sure if we can set the AUTO COMMIT ON  as a default somewhere?
    Wondering if any one has attempted this or has any insights?
    Regards,
    Mohit.
    Environment is - Crystal 2008 and Oracle 11GR2, we are using Oracle drivers (and not odbc)

    Hmmm... I don't use Oracle but the syntax looks good...
    You've already tested it and I assume that you are using the same driver in the production report as you used in the test, so that shouldn't be an issue...
    how are you pulling the data? Is the final SELECT statement that pulls the report data in the same command as the INSERT script, or is the INSERT script in it's own command?
    The reason I ask... If you are trying to pass a multi-valued parameter to a command, it won't work. If you have the insert command as it's own command while the data is being pulled with linked tables or a separate command, it is possible that the report itself will execute as expected w/o passing a value to the insert script.
    If it's all in 1 command (as it should be), a bad parameter would fail in the final SELECT causing an error.
    Also... are rows null or empty string values being added to table when the report executes? This would be an indication that the command is being executed but isn't getting the parameter value.
    Jason

  • Problems getting Excelsius 2008 line chart to integrate into Crystal 2008

    I am playing around with integrating excelsius 2008 into Crystal 2008 and I can't and am getting rather frustrated.  I have a simple output of the following:
    Month     % 1st delivery - Actl
    1                   65.00
    2                   89.80
    3                   85.00
    4                   87.50
    5                  
    6                   91.90
    7                   94.80
    8
    I set up a line chart for 1 series, the series being the month and charting the delivery %.  Very simple.
    The way I have the xcelsius data manager set up is that my Row Headers go from A2:A13 and the data goes from B2:B13 and my chart is set up to ignore blank cells.  I then saved that as an SWF file and pulled that into Crystal.  I mapped the Month column into the row label and the % 1st delivery - Actl into the data value.  What I get is a chart with just a value of 1 across the bottom and values of 0, 1, 2, 3, 4, 5 and 6 going up the left.  Basically, nothing.
    Now, if I go back into the Flash Data Binding Expert on the Crystal report, click on my data column, click on the options button and change the summary from sum to count, it seems to work.  I get a chart that has 1 - 8 across the bottom and a value of 1 on the chart for months 1 - 4, 6 and 7.  Now, if I go into my database and add another row for month 6, the chart now shows 2 for month 6.
    So basically, I can't get anything charted on this xcelsius chart exept for a count of my data values.  Any ideas?  I'm stumped and frustrated and would great appreciate any assistance.  Thanks in advance.

    Hi Joe,
    This is a known issue for CR 2008 and was fixed for CR 2008 and MS SQL Server 2008. It was not fixed for SQL Server 2005 using the SQL 2008 native driver as we do not support the MS SQL 2005 native client.
    I never tested it against MS SQL 2005 because we did not support the native driver for 2005. It may work using the 2008 native client but you'll have to download Fix Pack 2.7 for CR 2008, requires Service Pack 2 first.
    The cause is CR does not recognize the new SQL server native dll so it reverts to a default SQL syntax for that function.
    If it does not work, not officially supported, we won't be able to fix it. Options are to upgrade MS SQL server or use ODBC or OLE DB to connect using the MDAC client for MS SQL server 2005.
    Thank you
    Don

  • Crystal 10 to Crystal 2008 Conversion

    Hi,
    We are currently using Crystal Reports 10 and Crystal Enterprise 10. The current database used is Microsoft SQL 2005.
    We are planning to upgrade to the latest version of Crystal, which I assume is Crystal 2008. And also the database is going to be upgraded to Microsoft SQL 2008. All the Crystal Reports use Stored Procedures for getting the data.
    Please let me know if this will be smooth conversion from Crystal 10 to Crystal 2008, or will it require redesigning all reports.
    Regards,
    Zareen
    Edited by: ZARFAT on Jan 17, 2011 5:32 PM

    Hi Zareen, 
    The best way we found to upgrade the objects into Enterprise 2008 was to do a restore into it.  I recommend making sure you have installed the latest updates for Enterprise 2008 because we ran into some issues with rescheduling and using variables in Crosstabs. 
    These were issues with Enterprise and not the reports as we found out.  The reports ran fine in Crystal without needing to update them.  Once the updates were installed the reports were fine. 
    We found two things we didn't track down but the worked themselves out.  Some reports scheduled to be exported to Excel actually came out in Crystal Reports formats even though they had the Excel icon beside them.  Not sure why but we just recheduled them and they were fine. 
    The second issue we ran into was reports disconnected from the schedule.  This was our problem because it looks like the custom calendars we have didn't all get imported.  It was with the reports associated with 2 calendars that had problems.  So it wasn't a huge deal for us. 
    I haven't used APOS so I can't comment on that.
    Good luck.  I'm about to go through another upgrade in the next couple of months so it should be interesting here. 
    Brian

  • Can not see two fields in Crystal 2008 Developer explorer/designer view

    I am currently developing crystal 2008 reports against the salesforce.com database using version 12.0.0.683 CR Developer Full version. I am using an updated driver that was provided in July or Aug 08 in order to view self referencing fields. The problem is that when I try and report against one of the tables (lead history) I cannot view two of the fields (New Value and Old Value)? I can see these two field (New Value and Old Value) in the database expert as the last two fields in the actual table, but the two fields are missing when I go into the explorer/designer view. In Salesforce, these two fields can not be filtered on, but I can export all the values in this table using Salesforece Apex data loader.

    Please re-post if this is still an issue to the OnDemand Forum or purchase a case and have a dedicated support engineer work with you directly

  • Crystal 2008 - Selected table names are blank or end in 1

    I am creating a new report in Crystal 2008.  I am connecting to a database using ODBC.  The tables show up correctly in the available tables column of the Database Expert.  Once I select a table the table shows up in the selected tables list as an icon only - no name or as an icon with a table name ending in 1.  The table name that ends in 1 is not a duplicate.
    Furthermore, in the field explorer the fields all show but I can not add any to the report.
    Any ideas, this just started happening this week.

    Hi Russell
    Which database you are reporting off?
    You can try following workaround and create indirect ODBC connection.
    Create a report using OLEDB connection and select Microsoft OLE DB Provider for ODBC drivers and then create a report .
    This will point to your existing ODBC connection through OLEDB provider.
    For the tables name that are blank do you have hyphen '-' in their names?
    As advised by Jayendra you can try with Service Pack 1for Crysatl Reports 2008.
    Hope this helps..
    Regards
    Ankeet

  • Viewing Crystal 2008 ActiveX  on Access 2007 forms

    Ok, i am a little confused as there seems to be a some doubt whether Crystal 2008 ActiveX can be used on Access forms. Another thread even has a reply that mentions that the ActiveX control is no longer included in Crystal Reports 2008..... Take a look at this, you can clearly see i have embedded the 2008 ActiveX control onto an Access form. link:[http://www.moktar.pwp.blueyonder.co.uk/AX.JPG]
    I have just installed 2008 and will get round to looking at this, however in my brief look, i couldnt see the run time library for 2008. By all accounts you can freely distribute the run time files for Crystal Reports 2008 as MSI or exe packages to your clients. I hope this is the case and i can get the ActiveX working.
    If anyone has some information on this subject i will welcome reading it.
    This is how its used to be done;
    1) Open the Access form in design view.
    2) Click on Add Tool button on the toolbar.
    3) Select Crystal Reports ActiveX toolbar control from the list of controls.
    4) Place the control on the form.
    5) Click on the View Code toolbar button to open the code for the form
    6) Choose u2018Referencesu2019 from the u2018Toolsu2019 menu
    7) Select u2018Crystal Reports ActiveX Design and Runtime Library 11.Xu2019 from the list of references and add to the project.
    8) On the Form_Load() event, please use the code given below to pass the report to the viewer:
    Dim crReport as CRAXDRT.Report
    Dim crApplication as New CRAXDRT.Application
    u2018 Use the appropriate path for the report
    Set crReport = crApplication.OpenReport(u201CC:\Report1.rptu201D)
    u2018 ReportSource property and ViewReport method will not be displayed on the viewer control
    CrystalActiveXReportViewer0.ReportSource = crReport
    CrystalActiveXReportViewer0.ViewReport
    'Hey Presto, the Crystal control on the Access form is now displaying a report. However, you had the age old issue of distributing the runtime files to clients that dont have crystal reports installed, and even more so of an issue, as this is Access and no method of doing it. I was hoping that 2008 with its MSI and EXE versions of the runtime files would solve this age old problem.
    Thanks
    Simon.

    Hello Simon,
    The RDC was retired after Crystal Reports XI R2 and no longer exists in CR 2008.
    The viewer control you are seeing is not meant for RDC applications.
    You will need to move to Java or .NET if you plan on using CR 2008.
    Best Regards,
    Jason

  • App coded in Crystal XI need to be compatiable with Crystal 2008. Options?

    Dear All,
    The product I am working on, works fine with Crystal XI. But now task is to make it work for clients that have just Crystal 2008 (not Crystal XI). (Even assuming there is no new feature that Crystal 2008 offer is planned in this existing application.)
    I was wondering what would be the best bet to make that application compatiable? Certainly we do not want to have two seperate application coded separatly for Crystal XI and Crystal 2008.
    I will appreciate any information, feedback, guidance that you can provide on this.
    Thanks

    am actually using Visual Studio .NET 2008 only with Crystal Reports XI R2. I was not aware of the fact that Crystal Reports XI R2 does not work with Visual Studio 2008. It could be that since I have both Visual Studio 2005 and 2008 in my machine, and this could be referring to old one.
    I believe Visual Studio 2008 came with .NET framework 3.5 and in theory 3.5 does all that 2.0 used to do. So I am not sure what would be the reason of .NET 2008 not supporting it. May be I am missing something, please help me clarify?
    - See the supported platforms doc here:
    https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000712240&_SCENARIO=01100035870000000202
    (choose Business Objects XI release2 / crystal reports -> crystal reports -> crystal reports XI r2 -sp2 - supported platforms.
    .NET 2008 is not listed. That is as far as this discussion should need to go. E.g.; do not use CR XI r2 with .NET 2008, or .NET 2010 when it comes out - if you do, you're on your own.
    Option-1) Now my worry is can same application; when installed on a client who has just crystal report 2008 (not upgrade from XI-R2) run-time installed, will work OK?
    As long as you run CR XI r2 with the supported version of .NET (e.g.; in your case .NET 2005) there will be no issues after installing CR 2008 as CR 2008 and CR XI r2 are side by side compatible. One thing I would highly discourage is running reports created in CR 2008 with CR XI r2.
    Option-2) Is there any change in existing code, I need to do so that irrespective of what run-time environment client has (XI R2 or, Crystal 2008), my application runs fine without any issue?
    If you install CR 2008 SP0 after installing .NET 2008, you should not need any code modification to an already working app. All that will happen is that the CR assemblies will get upgraded to version 12.x. Of course, you then need to distribute the CR 2008 runtime to your client / server computers.
    Any other option...
    Not sure where the confusion is, but I am not sure why we'd want to look for other options(?).
    Ludek

  • Prompts to install Crystal 2008 SP1 each time I double-click .rpt file

    Every time I want to open a report (.rpt) file from Windows Explorer, I get a message box stating:
    Preparing to install...
    Followed by another message box:
    Please wait while Windows configures Crystal 2008 SP1
    Followed by another message box:
    The feature you are trying to use is on a CD-ROM or other removable disk that is not available.
    Insert the 'Crystal Reports 2008 SP1' disk and click OK.
    I select cancel at this point (I've already got Crystal Reports 2008 SP1 installed on my machine).
    After I select cancel, the following error appears:
    Error 1706.  No valid source could be found for product Crystal Reports 2008 SP1. The Windows installer cannot continue.
    I click OK and the report does not open.
    If I start Crystal Reports itself, then select File, Open and select the report to open, it opens fine (without error).
    The version of Crystal Reports (from Help, About Crystal Reports) is:  Version 12.1.0.892
    How can I resolve this without searching for the Crystal 2008 SP1 files (which were downloaded from the SAP/BO website).

    Hi Nancy,
    I've seen this happen usually when Windows Office has also been installed. The installer gets confused as to what should be installed or some dependency is missing. Not sure exactly what causes it.
    Go into Control and Add/Remove Programs and try doing a repair install for both CR and SP1. Then open up Explorer and click on Tools, Folder Options and then File Type. Scroll down to RPT and click on Change or Restore. Ther main be something missing from the File type association.
    Be sure to do this when you are logged in as local Administrator and/or your account is also configured to be part of the Local Admin group.
    Thank you
    Don

  • Error while Connecting Crystal 2008 to SAP.

    Hi Experts,
    We have a trial version of crystal 2008 installed (The SAP integration Kit is also installed) and I am trying to connect to SAP and develop a report on the SAP Cubes. But when I try to make a Connection to SAP, I get the following error:
    Database Connector Error: 'The License key does not include use of the BW Query Driver. Please Contact Business objects for information on how to obtain such a license key.'
    Is this a licensing issue with SAP integration kit or Crystal?
    Please let me know what would be the probable problem and solution for it.
    Thanks for your help in advance!
    Phani.

    hi,
    for SAP Integration Kit license kay updation; follow the steps
    Go to windows start menu>Run>type regedit> HKEY_LOCAL_MACHINE>Softwares>Business Objects>Suite 12.0>SAP>keycode.

  • Authentication issues on Windows 7 with Internet Explorer 8 (Crystal 2008)

    Hi,
    We are in the process of migrating from Windows XP to Windows 7 (with Internet Explorer 8).
    I have noticed that a web application which depends on Crystal 2008 is behaving differently in the new environment. For example, when I try to load a report I get this error:
    Access to report file denied. Another program may be using it.
    I know that this error can be caused by a permissions problem on the Windows temp folder, and I know there are various ways of pinpointing the exact permissions problem and various ways of resolving if that's the case. The fix that worked for us in Windows XP does not seem to work in Windows 7. My gut feeling is that IE is passing credential in some way differently from how it did before.
    Since many aspects of security are so different in Windows 7 compared with XP, I was hoping to find some general guidelines from SAP/Crystal re: how to deploy or configure the client/server in this environment.
    Are there any general guidelines available?
    Thank you for any help... shannon

    Hi Shannon,
    Not really, CR assumes it can access all of it's dependencies so it is a permission issue. Other than the usual config issues with IIS, full access to the      emp folder, full permissions on the Viewer folder, setting the framework in App pool correctly, etc.
    Do you have Service Pack 3 installed for Cr 2008 and the latest Fix Pack 3.5?
    https://smpdl.sap-ag.de/~sapidp/012002523100009989492010E/cr2008_sp3_fullbuild.zip ( requires uninstall first -  keycode is required )
    Incremental for SP2 - https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    Fix Pack: https://smpdl.sap-ag.de/~sapidp/012002523100006341722011E/cr2008fp35.exe
    References for WEB app's:
    [Crystal Report Viewers in Visual Studio .NET u2013 Toolbar Images|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a]
    This one could be a great reference also:
    [Deploying Crystal Reports 10 .NET Applications|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/30c6d7c6-7164-2b10-90b8-d6020b116f4d]
    You could also use Process Monitor from Microsoft and scan the log file for Access Denied on the IIS Process.
    And also search [Microsoft's Forums|http://social.msdn.microsoft.com/Search/en-US?query=iis%207%20configuration%20and%20security&Refinement=123&ac=3] on how to:
    Thank you
    Don

  • Crystal report SQL Command and using IN

    Post Author: geozuh
    CA Forum: Crystal Reports
    Does any one know how to get a multiple value prompts to work in Crystal report SQL Commands? I have an extremely large database and do not want to pull back all the records to the report. I know I can do the filtering in the report, but due to the size of the database, I am restricked from doing do.
    I would like to set the State as a multiple value parameter/prompt to be used in the SQL Command.
    Ex.
    Select CustID, FirstName, LastName
    from Customer
    where State in ('WI', 'IL', 'MN') --this would be turned into a parameter

    Post Author: yangster
    CA Forum: Crystal Reports
    you are over thinking the problemsimply create a parameter within crystal for your state and change it to allow multiple valuesthen in the select expert put in state = ?stateif you do show sql query you will see that the values are pushed down to the sql level thus no performance hit vs putting the parameter directly in the command itself

  • Crystal 2008 on 64 bit OS

    We had to move to Crystal 2008 to support our application in citrix environment and now we need to support it on a 64 bit OS.  It appears that crystal 2008 can only work in the emulaton mode on a x64 OS.
    Is there any plan to provide full 64 bit support on Crystal Report 2008?
    Would appreciate any information/suggestions in this regard.

    None, CR 2008 will only run in 32 mode on 64 bit OS's and does work. All DB clients and printers must also be 32 versions to work.
    Thank you
    Don

  • How to install CAL 2008 SQL Server

    how to install CAL 2008 SQL Server

    Hello,
    SQL Server does not keep track of licenses. You cannot register/install licenses on a SQL Server instance. SQL Server uses
    an honor system, that means keep licensing papers of a safe place if somebody requires them later.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

Maybe you are looking for