Using crystal reports to generate invoices

Post Author: samme
CA Forum: General
I'm writing a report for a client who wants to print multiple invoices using crystal reports.  The invoice needs to sort in date order, one date and information associated with that date on each page.  Each page has a subtotal since multiple items/services are linked ot one date.  The last page of the invoice needs to have the total and should at the bottom of the page with the last subtotal.  Not onlastrecord does not work because if the user prints multiple invoices, crystal doesn't see the "last record" until the last record of the last invoice.
The client wants the normal invoice information on the first page of the invoice:  Company Logo, Customer Address, Company Info, Invoice #, Date, etc. as well as the column headers - quantity, unit of measure, price, etc.
On all other pages of the invoice, the client wants, the company logo, the invoice # and the column headers.
I have the report grouped by invoice number and then by a date formula.  I cannot seem to get where I need to be with this invoice and have been working on it for some time.  Can anyone give me some direction please..... 
Thanks in advance!

On Sat, 15 Mar 2003 16:46:48 GMT, "Bill Bradley"
<[email protected]> wrote:
>I know. We thought that the Report Builder would be the way to go,
since
>ART didn't do too much for us. You guys poorly document it, and,
show no
>examples of using it to build a report. In addition, it'd be nice if
>SOMEONE would come up with a list of what tables show what. While
Novell
>may have a detailed list of things in the ZFD docs, it's pretty much
so
>detailed and complex that, it's next to useless. I've resorted to
doing
>huge dumps of things to a csv, then, using CR or Excel to generate
some kind
>of report.
>
>The whole process is not as easy as it should be, seeing that we paid
money
>to get a reporting vehicle.
>
>As comparison, SMS isn't any easier, but, there's more documentation
on it,
>so, when you're forced to roll your own report, it's a clearer
path...
I do understand, I'm not a programmer either :-(
the company who wrote report builder is Digital Metaphors, they have a
very good
training application and additional detailed information of how to
write
reports.
The CIM schema is I agree Cr** (well not easy) and without the detail
that
Novell provide it doesn't work.
I hope that a friend of mine is going to provide the compromise that
you and I
are looking for. Namely the ability to create the SQL queries that
ART can
make, with a simple report system. Keep an eye on caledonia.net for
an
announcement for ART4 (Derived from but unrelated to Salford
Software's
product) :-)
Tim
No Direct e-Mail Please!
Tim Heywood
Independent Consultant
Scotland
Novell Support Connection SYSOP
In theory, practice and theory are the same,
In practice they are different!

Similar Messages

  • How to use Crystal Report with Java - need help

    Dear everyone,
    i am completely new to Crystal report , please can anyone help me to creat a very simple Report using the Crystal report,
    the report will show some records from oracle DB.
    How can i make it by a simple example and with code please?
    do i need any JAR or Bean for Crystal report?
    thanks for your help and please don't hesitate to contact me in case of any inquiries.
    my email: [email protected]
    Thanks in advance

    I what to use Crystal report to generate report.My programe in java swing .Iam retrive table from database in Jtable .But when giving print
    command its print half screen .so that why I wantto usecrystal report
    package file2;
    import file2.choice;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.*;
    import java.util.*;
    import java.awt.print.*;
    import javax.swing.table.*;
    import com.sun.java.swing.*;
    import javax.swing.JTable;
    public class cour extends JFrame implements Printable
         //Menu fileMenu;
         public static void main(String[] a)
    cour n = new cour();
    n.setVisible(true);
    public cour()
         super("Course Report");
         report();
         protected void report()
              JPanel panel = new JPanel();
         JButton printButton = new JButton("Print");
         panel.add(printButton);
         JButton exitButton = new JButton("Exit");
         panel.add(exitButton);     
         DefaultTableModel defaulttablemodel = new DefaultTableModel();
              JTable jtable = new JTable(defaulttablemodel);
              panel.add(new JScrollPane(jtable));
              String      tempname="";
              int tempcnt;
              String driver="sun.jdbc.odbc.JdbcOdbcDriver";
              String url="jdbc:odbc:regs";
              Object[] data = new Object[4];
              try
                             Class.forName(driver);                         
                             Connection connection=DriverManager.getConnection(url,"sa","");
                             Statement statement = connection.createStatement();     
                             String query = "SELECT courseid as CourseID,coursen as CourseName,cfee as Fee,coursed as Duration FROM course";
                             ResultSet rs = statement.executeQuery(query);     
                             ResultSetMetaData rmeta = rs.getMetaData();
                             int numColumns=rmeta.getColumnCount();                         
                             for(int i=1;i<=numColumns;i++)
                                  if(i<=numColumns)
                                       defaulttablemodel.addColumn(rmeta.getColumnName(i));
                             while(rs.next())
                                  for(int i=1;i<=numColumns;++i)
                                       if( i<=numColumns)
                                            tempname = rs.getString(i);
                                            tempcnt=i-1;
                                            data[tempcnt] = tempname;          
                                  defaulttablemodel.addRow(data);                              
                   catch(Exception ex)
              printButton.addActionListener(new ActionListener()
         public void actionPerformed(ActionEvent ae)
              /*if(ae.getActionCommand().equals("Print"))
              PrinterJob pj = PrinterJob.getPrinterJob();
              pj.setPrintable(cour.this);
              if (pj.printDialog())
              try
              pj.print();
              catch (PrinterException pe)
              System.out.println(pe);
    exitButton.addActionListener(new ActionListener()
         public void actionPerformed(ActionEvent ae)
              choice ch=new choice();
                   setVisible(false);
                   ch.setVisible(true);
    setContentPane(panel);
         setSize(1040,780);
    /*Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension frameSize = getSize();
    int x = (screenSize.width - frameSize.width) / 2;
    int y = (screenSize.height - frameSize.height) / 2;
    setLocation(x, y);*/
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    dispose();
    System.exit(0);
    public int print(Graphics g, PageFormat pf, int pageIndex)
    if (pageIndex != 0) return NO_SUCH_PAGE;
    Graphics2D g2 = (Graphics2D)g;
    g2.translate(pf.getImageableX(), pf.getImageableY());
    getContentPane().paint(g2);
    return PAGE_EXISTS;
    }

  • How to use crystal report client?

    Hi all,
    In my java application we are using crystal report for generating report. For certain condition we are not in the position to use crystal report server. So, is that any possibility to generate the report without crystal report server? i heared something we can generate the report through by using crystal report client...is that possible?
    Please help me..
    Thanks,
    Shiva

    I did that and i set up a trace file withing the sql.net and i reviewed the file and everything is looking fine for me, there is no error at all.
    i can see his session created when he build new connection and run any query, but if he modified that query, the connection is dropped, still dont get it.
    he used to use before VPN but now he has direct connection.
    i also put this parameter in his tnsname.ora file (RECV_BUF_SIZE=11784)
    there is only one thing strange, when i try to use sqlplus /nolog, i couldnt run the sqlplus, or tnsping and it keeps telling me any orginized program or something like that, i asked him to install the oracle client again, because looks like some libraries not working fine, however he complian the crystal report works fine, so oracle client must work ok, i explained to him it is totally different thing, but he refused to confess.
    so i dont know what else i should do,

  • Using Crystal Report to create reports from ABAP

    Hello,
    We are currently using Jetform as the designer for our outputs like Invoice, Order confirmation, etc.....
    We would like to switch to Crystal instead, but don't really know where to start from.
    - We already have crystal on our B/W instance
    - The additional need for Crystal is in R/3, and would be triggered trough ABAPs.
    What I am looking for. I guess, is the equivalent to when:
    we call up smartforms from ABAP using the generated function modules
    we call up sapscript from ABAP using the predefine function call (write_form open_form close_form, etc)
    we call up Jetform using special control code along with the data, sent to a jetform configured printer
    => What kind of call would we then make to send data to Crystal Reports place holder and print them?
    => What kind basis set-up is needed to have to comunication between Crystal and SAP established?
    Thank you in advance for yours hints

    Hi,
    You will likely be able to access the tables directly using the Opensql driver using Crystal Reports.  I don't understand why you are assuming that an Infoset is necessary.  Can you point me to the documentation that states that an Infoset is necessary?
    In any case, if you want to create an Infoset, this is done in SQ02.  You need to make sure that you belong to a user group in order for Crystal Report to see the infoset.

  • Performace Issue using Crystal Report For enterprise and BEx Queries

    Hi all;
        We are generating the following error stack when trying to build a report on top of a BEX query using Crystal Report for Enterprise :
        |7C4F8ECE44034DB897AD88D6F98B028B3|2011 12 12 17:24:21.277|+0100|>>|E| |crj|20380|  56|ModalContext    | |2|0|0|0|BIPSDK.InfoStore:query|CHVXRIL0047:20380:56.174:1|-|-|BIPSDK.InfoStore:query|CHVXRIL0047:20380:56.174:1|Cut2PbOe3UdzgckPBHn8spEab|||||||||com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects||Assertion failed: Java plugin for CommonConnection is not loaded.
    java.lang.AssertionError
         at com.businessobjects.foundation.logging.log4j.Log4jLogger.assertTrue(Log4jLogger.java:52)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.newInfoObject(InfoObjects.java:576)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpackHelper(InfoObjects.java:548)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.continueUnpack(InfoObjects.java:489)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects.startUnpack(InfoObjects.java:464)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore$XRL3WireStrategy.startUnpackTo(InternalInfoStore.java:1484)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore$XRL3WireStrategy.startUnpackTo(InternalInfoStore.java:1464)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.unpackAll(InternalInfoStore.java:910)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:944)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:929)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query_aroundBody24(InternalInfoStore.java:798)
         at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query(InternalInfoStore.java:1)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query_aroundBody20(InfoStore.java:175)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query_aroundBody21$advice(InfoStore.java:42)
         at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query(InfoStore.java:1)
         at com.businessobjects.mds.securedconnection.cms.services.olap.OlapCmsSecuredConnectionService.getConnectionObject(OlapCmsSecuredConnectionService.java:125)
         at com.businessobjects.mds.securedconnection.cms.services.olap.OlapCmsSecuredConnectionService.getOlapSecuredConnection(OlapCmsSecuredConnectionService.java:191)
         at com.businessobjects.mds.securedconnection.loader.internal.SecuredConnectionLoaderImpl.getOlapConnectionFromSecuredConnection(SecuredConnectionLoaderImpl.java:83)
         at com.businessobjects.mds.securedconnection.loader.internal.SecuredConnectionLoaderImpl.getConnectionFromSecuredConnection(SecuredConnectionLoaderImpl.java:60)
         at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.loadSecuredConnection(DirectOlapAccessDataProviderBuilder.java:193)
         at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.loadSecuredConnection(DirectOlapAccessDataProviderBuilder.java:176)
         at com.businessobjects.dsl.services.workspace.impl.DirectOlapAccessDataProviderBuilder.provideUniverseFromCms(DirectOlapAccessDataProviderBuilder.java:63)
         at com.businessobjects.dsl.services.datasource.impl.AbstractUniverseProvider.provideUniverse(AbstractUniverseProvider.java:41)
         at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.updateQuerySpecDataProvider(AbstractDataProviderBuilder.java:119)
         at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.updateDataProvider(AbstractDataProviderBuilder.java:106)
         at com.businessobjects.dsl.services.workspace.impl.AbstractDataProviderBuilder.addDataProvider(AbstractDataProviderBuilder.java:49)
         at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:56)
         at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:45)
         at com.crystaldecisions.reports.dsl.shared.DSLTransientUniverseServiceProvider.createSessionServicesHelper(DSLTransientUniverseServiceProvider.java:72)
         at com.crystaldecisions.reports.dsl.shared.DSLServiceProvider.createSessionServices(DSLServiceProvider.java:428)
         at com.businessobjects.crystalreports.designer.qpintegration.DSLUtilities.getServiceProvider(DSLUtilities.java:279)
         at com.businessobjects.crystalreports.designer.qpintegration.InitializeDSLRunnable.run(InitializeDSLRunnable.java:82)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    Here seems to be that a plugin is not loaded : com.crystaldecisions.sdk.occa.infostore.internal.InfoObjects||Assertion failed: Java plugin for CommonConnection is not loaded.
    could this affect the performance of Crystal Reports for Enterprise and how could I fix this ?
    Best Regards
    Anis

    Venkat,
    Thanks for your response. Please note, however, the transaction RAD1 does not exist. Let me provide more details about the current settings of the InfoObject.
    The Characteristic is 'Item' (0CS_ITEM) and upon going to RSA1 >  Modeling > InfoObjects > Item (0CS_ITEM) > Right Click > Display > Business Explorer (tab) > Text Type is set to 'Long Text' and BEx description is set to 'Long description' already.
    When I run/execute the query with this Item characteristic, the results in BEx Analyzer is showing appropriate long text, however, Crystal Report for Enterprise shows short text only
    K
    Edited by: Kumar Pathak on Feb 3, 2012 6:18 PM

  • Print preview using crystal report in SAP B1 is very slow.

    Dear all,
    I face another problem. Print preview using crystal report in SAP B1 is very slow. Although i have create a layout in AR invoice form  and applying the print sequences (ie 4 prints). Does any one know how to print preview fast. Just like in PLD.
    Thanks in advance
    Kamlesh Naware

    Hi,
    Basically Crystal report run with SQL statement, I would suggest to do well performance tuning on SQL query / Store Procedure.
    Structure your query in DBA manner that will make some how faster such as use ( inner join, less condition,...)..
    also if it simple query then use Command in Crystal report rather store Procedure..that make some how Faster your report.
    Thanks
    Kevin
    Edited by: Kevin Shah on May 27, 2011 4:21 PM

  • Problems with concurrency tests using Crystal Reports for VS 2005

    Post Author: condeagustin
    CA Forum: General Feedback
    Hi
    My name is Agustin and Im using Crystal Reports for VS 2005
    and NET 2.0 to generate pdf files. This is the scenario:
    I created a COM+ object in c# and everytime the
    COM+ creates an instance of this object, the following flow is executed:
    it reads an xml file from a database, then it feeds the report with this
    xml file, afterwards it generates a pdf file and finally this pdf file is
    inserted into the database. Both fields (xml and pdf fields) are varbinary in the
    same table in sql server 2005. All the flow from reading the xml to inserting
    the pdf into the database is executed in memory, it never goes to the hard
    disk. In other words both the xml and the pdf file are stored in memory (the
    RAM). That is the only function of that COM+ object and I already have it in a
    production server and it works GREAT!!
    The PROBLEM is the concurrency tests. I made the following tests
    in the same production server:
    1. First I went to the registry and I set the PrintJobLimit to
    100 in HKEY_LOCAL_MACHINESOFTWARECrystal Decisions10.2Report Application
    ServerServer
    2. I shut down the object in the COM+ and I executed 100
    threads all at the same time. Each thread created one instance of the object in
    the COM+ and the 100 pdfs were generated SUCCESFULLY in 5 minutes!!
    3. Then I executed again 100 threads (WITHOUT shutting down the
    object in the com+). 10 pdfs were generated succesfully but the rest were
    never generated and there was no exception because my object was NEVER
    INSTANTIADED in the COM+, I mean, the 90 instances were never created in the
    COM+, so my object was never executed, THAT IS MY PROBLEM!! Do I have to
    modify something in the registry files of crystal reports to fix this? What can
    I do? I have revised the code in that object a LOT OF TIMES and believe me,
    everything is being closed and disposed at the end (the memory streams, the
    ReportClass objects, the connection to the database, even the dataset used to
    store the data of the xml file!
    So to sum up the problem is not with the execution of my object
    (cause once is created the object works great and the pdf is generated
    perfectly!), the problem is with the com+ TRYING to create another instance
    of my object given that test scenario. Help me please, What do you
    suggest?
    The production server has this specifications:
    Operative System: Windows Server 2003 Enterprise Edition with Service Pack 2
    Processor: Dual Core AMD Opteron 2212 2.00GHz
    RAM: 820MB
    Hard drive: It is partitioned in 2 drives --> C
    drive has 20GB and D has 60GB
    Note: Each generated pdf has only one page and if you bring it
    to disk its maximum size is 56KB
    I hope your answer and thank you
    Agustín Conde Martí

    Post Author: John Werner Enoksen
    CA Forum: General Feedback
    Hi, im about to write a simular solution where I will use VS2008/Com+ to be in compliance to an existing solition written in VB6.0, so I was googling to look for bumps. Did you figure this one out?
    Best regards,
    John Werner

  • Printing PO's using Crystal Report

    Hi,
    I am printing Purchase order using crystal reports. And when I print single PO, it is printing perfectly and I am printing one PO per page in pre printed stationery. But when I Print Multiple PO's i.e., mass printing, the first record gets printed correctly but when the printer scrolls to second page,  the header section jumps one line above and when it scrolls to third page, it jumps two lines above and so on. And I am using continous stationery in dot matrix printer. How to print multiple PO's with Correct page header alignment. (Also I found the same problem when I print A/R Invoice).
    Thnx in Advance.
    Regards,
    S Desikan

    Dot matrix printer has the inherated weakness for linefeed control.
    You have to change the page setting quite a few times before it can be fit.
    If possible, laser printer will be much better.  What you see is what you get.
    Thanks,
    Gordon

  • Using Crystal Report Data Connection in Xcelcius 2008

    The documentation does not explain how data to populate row, column and details is passed to SWF.
    Can some-one please point how CR Data Connection when created in Xcelcius 2008 is used in Crystal Report Design time ? Is it through Flash variables? Basically more details are needed for "when setup properly" clause. How to map Crystal Reports Fields to Xcelcius Definitions.
    Thanks
    Harish Tejwani
    From Doc:
    "With the release of Crystal Reports 2008, it is now possible to embed an Xcelsius-generated SWF file into a Crystal Report and have the SWF consume data from that report. When set up properly, refreshing the data in your Crystal Report will update the embedded SWF.
    To configure your Xcelsius SWF to consume data from its Crystal Rport source data, you must open the Data Manager in Xcelsius and add a new Crystal Report Data Consumer connection. After adding the connection, bind the following ranges to your spreadsheet:  Row Headers, Column Headers, Data"
    "Using Crystal Reports 2008, embed the SWF file into the Crystal Report source data file. When designing your Crystal Report, you will determine what fields/data populate the Row Headers, Comumn Headers, and Data ranges that were designated in your Xcelsius SWF. When set up properly, refereshing your Crystal Report will also refresh the data being sent to and consumed by the embedded SWF. See"

    <div class="content">
    <p>
    Please check the following post to see if there is a solution to the issue you are experiencing:
    </p>
    <p>
    <a href="/node/19014"><span style="color: #0063af">http://diamond.businessobjects.com/node/19014</span></a>
    </p>
    </div>

  • Total No of pages different in report printed using Crystal Report XI R2 vs SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8)

    Currently in our application, we are using Crystal Report XI R2 for generating the reports. We are in the process of upgrading the Crystal Report to SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8). I updated that on my machine and all the reports work fine. I didn't have to modify any of the reports.
    However when comparing the reports, we found that there are few reports on which the total no. of pages differ from the report displayed using Crystal Report XI R2 vs SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8). Comparing the reports, it looks all the data that were fit on one page earlier with version XI R2 doesn't fit on the same page with version 13.8, thereby increasing the page counts.
    The fonts, page margins everything set on report itself. Nothing being set in the code.
    Both the application is using the same report that is pulling the data from the same database. Our application is a web application.
    Any suggestion, why this is happening.
    Thanks.
    Sanjay

    I am not sure what is being compared here?
    CRXI R2 designer to CRVS?
    CR XI R2 in some version of .NET to CRVS?
    CR XI R2 using RDC SDK to CRVS?
    Also, is this happening on your development computer or after you deploy?
    If you compare the the "Page setup" options dialog between reports that work and those that do not work, do you see any difference?
    Is this a web or a win app?
    Are you seeing the same issue when viewing and exporting - say export to PDF?
    What is the printer driver used and it's version?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Creating Employee Badges using Crystal Report.

    Hi,
    I have a requirement where i have to create Badges for Employees using Crystal Reports. The report is created but the issue here is when i generate the PDF output, apart from the portion of the rectangular Badge, there is lot of white spaces on the report and when i give it for printing, the entire PDF with white space is also coming up. I tried with resizing the crystal report but it did not worked. I want only the rectangular portion of the badge to come on the PrintPreview which can then be given for Print. Is it something to do with the print setting? I am using a special kind of printer(Evolis-Pebble) which is used to print badge cards.
    Any help will be greatly appreciated.
    Thanks,
    Ashish.

    Thanks Jayaprakash, we have asked for the installation of printer driver on the server machine where we design the report. Hopefully, we should get options to customize the report template to correct size as of the Badge size. Currently only default options are coming which doesnot allow us to use custom option to have the report to exact size of the Badge in the page setup.
    Thanks,
    Ashish.

  • Using crystal reports to pull ZfD3 inventory information

    Is it possible to use Crystal Reports to pull information from the
    ZfD3
    database? If so, what version of Crystal is recommended, and how
    should
    crystal be configured to connect to the database?
    thank you
    Tom

    On Sat, 15 Mar 2003 16:46:48 GMT, "Bill Bradley"
    <[email protected]> wrote:
    >I know. We thought that the Report Builder would be the way to go,
    since
    >ART didn't do too much for us. You guys poorly document it, and,
    show no
    >examples of using it to build a report. In addition, it'd be nice if
    >SOMEONE would come up with a list of what tables show what. While
    Novell
    >may have a detailed list of things in the ZFD docs, it's pretty much
    so
    >detailed and complex that, it's next to useless. I've resorted to
    doing
    >huge dumps of things to a csv, then, using CR or Excel to generate
    some kind
    >of report.
    >
    >The whole process is not as easy as it should be, seeing that we paid
    money
    >to get a reporting vehicle.
    >
    >As comparison, SMS isn't any easier, but, there's more documentation
    on it,
    >so, when you're forced to roll your own report, it's a clearer
    path...
    I do understand, I'm not a programmer either :-(
    the company who wrote report builder is Digital Metaphors, they have a
    very good
    training application and additional detailed information of how to
    write
    reports.
    The CIM schema is I agree Cr** (well not easy) and without the detail
    that
    Novell provide it doesn't work.
    I hope that a friend of mine is going to provide the compromise that
    you and I
    are looking for. Namely the ability to create the SQL queries that
    ART can
    make, with a simple report system. Keep an eye on caledonia.net for
    an
    announcement for ART4 (Derived from but unrelated to Salford
    Software's
    product) :-)
    Tim
    No Direct e-Mail Please!
    Tim Heywood
    Independent Consultant
    Scotland
    Novell Support Connection SYSOP
    In theory, practice and theory are the same,
    In practice they are different!

  • Using Crystal Reports with Visual Studio 2008

    I have bin using visual studio 2008 for a while. I have just started using Crystal Report (which came with Visual studio) . I have an Access database connected with 3 tables, the first two table has two test fields and one index field, the third table has two text fields and two index field (of which one relates too one of the other tables).
    I have generated a crystal report on one of the tables using the wizard. I have then placed the crystalreportviewer in a form (as a test). When I run the resulting form, all I get is the column heading label but no fields being displayed. There is data in the table. All I need to know is how do is make sure that the reports are accessing the data in the table, through the datasets???.

    Hi,
    [Here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375 [original link is broken]] is the specific samples for you or [here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9043bbbc-ae66-2b10-ce96-b48f9e25a450]
    And [here|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm] is the link for the dev library.
    Hope this will work!!
    Amit

  • Unable to load password protected Accdb file using crystal reports 2008

    Hi,
    I am trying to generate crystal reports  using crystal reports 2008 and in the process, I am internally setting accdb file to all my rpt files .
    When i try to map my accdb file (Without passord protection) to all my rpt files, everything works fine and i am able to generate reports.
    But, when i try to map the password protected accdb file to the rpt file, it throws me an error saying
    "LogOn failed. "
    Details :         ADO Error Code : 0X
    Source:         Microsoft Access Database Engine
    Description : "Cannot start your appliaction, The workgroup information file is missing or exclusively opened by other users"
    SQL State  : 3028
    I have made sure that none of my applications are running when i try this.
    Please find the screenshot for the same.
    Please let me know how to resolve this issue as i need to work with password protected accdb files for generating reports.
    Thanks in Advance.
    Regards,
    Ramnath

    Hi Ludek,
    This is happening in CR designer.
    Besides, please find below the additional basic info regarding this
    Crystal reports version      : 2008
    Database connection type : OLE
    OLE DB Driver                    :  Microsoft Office 12.0 Access Database Engine OLE DB Provider
    Database                           :  Access 2010
    Dev Language                   :  VB.Net
    Regards,
    Ramnath

  • How to view multiple reports using crystal reports 2008

    Hi ,
    I am working on vb6 project where in i am trying to generate reports using crystal reports 2008.
    For this , i am making use of Interop Form Wrapper class in vb6.
    I have a business requirement where in i need to view multiple reports  on my screen.
    please suggest me as to how this can be achieved.
    Thanks in Advance
    Regards,
    Ramnath

    Hi Ludek,
    I  am directly now using crystal report viewer control in my vb6 project.
    As mentioned in previous mail, i have created a Interop Wrapper class over crystal report viewer control in .Net using visual studio 2008 and i am making use of wrapper class in my vb6 project.
    I am able to access all the properties that have been defined in my Interop wrapper Class but the only stuff i need is to view multiple reports generated one after the another for a single button click Event.
    Please find below the code that iam using to load and generate reports.
    Note:
    1. frm is the instance of my Interop Wrapper Class built over CR viewer control
    2. All the user defined methods of Wrapper class that you see below will internally call the actual crystalreportviewer   properties defined in my Wrapper class
    Say for e.g   frm.DisplayToolbar(True) will internally  execute  crystalreportViewer1.DisplayToolbar = True
    frm.SetReportSource(strRptFilePath,0)          
    frm.SetSelectionFormula(strrecordSelectionFormula)
    frm.DisplayToolbar(True)               
    frm.ShowExportOption(True)
    frm.ShowPrintOption(True)
    frm.ShowRefreshOption(True)
    frm.ShowPAgeNavigateOption(True)
    frm.ShowZoomOption(True)
    frm.ShowParameterPanelOption(True)
    frm.Show()
    Thanks in Advance
    Regards,
    Ramnath

Maybe you are looking for

  • The subtle use of task flow "No Controller Transaction" behavior

    I'm trying to tease out some subtle points about the Task Flow transactional behavior option "<No Controller Transaction>". OTN members familiar with task flows in JDev 11g and on wards would know that task flows support options for transactions and

  • FireWire External Drive - Read Only Filesystem

    I have a strange issue that I have not been able to resolve.  I have an external hard drive connected to my iMac that has a read only file system.  I have used it for years without issue.  It switched to read only just recently. Here are the details:

  • Automatic Posting accounts are posting to Dummy Profit center....

    Hi experts.... We are configured New GL Generally we are creating Customer Invoice (T. Code: VA02) and Vendor Invoice (T Code. MIRO) for WBS Element only. While posting the customer/Vendor Invoice System is not checking that CO Object (WBS Element) i

  • My Photoshop has stopped working?

    I recently upgraded my Macbook Pro with 2,2 GHz Intel Core i7 to the new OS Yosemite 10.10. Next thing, Photoshop stops working. I have a Creative Suite CS5.1 with Illustrator, Indesign and Photoshop. Now InDesign and Illustrator still works fine...

  • MacBook Air FaceTime Problem:

    Hallo zusammen, ich wollte mein FaceTime auf meinem MacBook Air einrichten und mich mit meinem bestehenden Account anmelden, leider erkennt wohl Apple in diesem zusammenhang meinen Account nicht. Oder muss ich doch einen komplett neuen Account dafür