Introduction
There have been many inquiries about Crystal Reports on the site and unfortunately, there are not too many technical articles and source code samples available on Crystal Reports on C# Corner or anywhere else. As usual, I decided to dedicate some time to Crystal Reports and fill the Crystal Reports section of C# Corner and VB.NET Heaven sites. As a result, in the next couple of weeks, you will see some Crystal Reports articles from me. Hopefully, you will enjoy these articles. Again, I encourage you to share your knowledge with other developers to make our lives easier.
Unlike previous versions of Visual Studio, Crystal Reports is an integral part of Visual Studio .NET and ships as a part of it. By making Crystal Reports a part of Visual Studio .NET suite, Microsoft has added one more useful tool to the Visual Studio family. In this article, I will show you how to create a simple report using Crystal Reports and Visual Studio .NET. In my following article, I shall dig more into Crystal Reports .NET.
To follow this article, first, create a Windows application by selecting the File->New->Project->Visual C# Projects->Windows Application template from Visual Studio .NET project templates. I give my project name IntroToCR.
Adding a Report to a Project
Crystal Report is a part of Add New Item templates available in Visual Studio. To add a report to the project, add a new item by Right-Clicking on the project in Solution Explorer and selecting Add->Add New Item->Crystal Report as you can see in Figure 1. I change the name of the report to Customers because we will be displaying customers related information from the Northwind database.
Now click the Open button.

Figure 1. Adding a Report to the Project
The next step is to select the report document type from Crystal Report Gallery. As you can see from Figure 2, Crystal Report Gallery provides three options Using the Report Expert, As a Blank Report, or From an Existing Report.
For our first application, let's keep all options as default. I will be discussing rest of the options in my following articles.

Figure 2. Selecting a report type.
By clicking the OK button adds Customers.rpt file to the project and launches Standard Report Expert wizard as you can see in Figure 3, where you can select a data source. The Standard Report Expert wizard has 8 different tabs. I will discuss these tabs in more details in my following articles. The main purpose of this article is to show you how to create your first report in a few simple and quick steps.

Figure 3. Standard Report Expert wizard
Adding a Data Source
Now our next step is to link a data source to the wizard. There are different ways to link a data source to the wizard. The simplest way is to click on the OLE DB(ADO) tree item in Figure 3.
Clicking on OLE DB(ADO) item launches OLE DB Provider dialog where you can select a data source as you can see in Figure 4.

Figure 4. OLE DB Provider dialog
Now on the OLE DB Provider, you can select a provider. I select Microsoft OLE DB Provider for SQL Server. If you do not have access to SQL Server, you can select Access or other data providers.
After select Microsoft OLD DB Provider for SQL Server, you will see the Next button is activated on the wizard.
The Next button allows you to provide connection information about a data source. As you can see in Figure 5, we select the Northwind database.

Figure 5. Connection Information dialog
Now you can click the Finish button.
This option adds the Northwind database to the list and if you expand the database item, you will see the database tables.
Now on this page, I select the Customers table and add it by clicking the Insert Table button. Now you can see the table listed in the right list box. See Figure 6.

Figure 6. Northwind database tables
Now click on the Next button which moves to the Fields tab. On this page, you can select what field you want to use in the report. For simplicity, I add only 5 columns to the report CustomerId, CompanyName, ContactName, ContactTitle, and City. See Figure 7. On this page, you can change the heading of a column by selecting a column and changing its name in the Column Heading text box.

Figure 7. Adding columns to report
Now we can continue through different pages but we will stop here. Click Finish here. This option adds the report with all columns to the project. The final report file looks like Figure 8.

Figure 8. Customers.rpt
Adding a Crystal Report Viewer Control
Now our next step is to add Customers.rpt to the Form. For this, we need to make sure the size of the Form is big enough to fit the report. So you may want to go ahead and modify the size of Form.
After resizing the Form, we need to add Crystal Report Viewer from Toolbox to the Form. Simply drag the Crystal Report Viewer control from Toolbox to the Form and resize it accordingly. My final Form looks like Figure 9.

Figure 9. Form with Crystal Report Viewer
Attaching Report to Crystal Report Viewer Control
The last step is to attach Customers.rpt to Crystal Report Viewer control. For this, we need to set the ReportSource property of Crystal Report Viewer control. On the Forms load event handler, we create an Instance of Customers class and set it as the ReportSource property of Crystal Report Viewer control.
Just write the following two bold lines on your Forms load event handler.
- private void Form1_Load(object sender, System.EventArgs e)
- {
- Customers custReport = new Customers();
- crystalReportViewer1.ReportSource = custReport;
- }
Now compile and run the project. The output looks like Figure 10. Now you can see the report with data. With the help of Crystal Report Viewer, you can select from various options such as zoom in, zoom out, print, move next, move last, move previous, and move first.

Figure 10. The final report
Conclusion
By adding Crystal Report support to Visual Studio .NET, Microsoft had made developers like it easier. In this article, we saw how easy it is to generate a report from a SQL Server database using Crystal Report available in Visual Studio 2003.
In my next articles in this series, I will be exploring more options for Crystal Reports.
Note: To run the attached source code, you MUST change the database information.

Jochen BartlauPosted May 5, 2022, 2:23 PM
Great take on the topic, thanks Mahesh for sharing. While obviously very popular, there seems to be very little development on CR recently. Updates to the latest Visual Studio version also take very long. Maybe I'll write an article with an introduction to a couple of CR competitors - it could be helpful for anyone looking for more modern alternatives.
Deeppak ChaoudharyPosted Mar 12, 2016, 3:58 PM
A good one...
Anu VPosted Mar 1, 2016, 6:48 AM
Nice
Md. Raskinur RashidPosted Jan 10, 2015, 12:21 PM
Need to preview existing report using c#. please share...
rajesh vsPosted Dec 18, 2014, 3:59 AM
I created crystal report but when i creating crystal report viewer in windows form in that crystal report viewer is not showing in tool box.why sir please give suggestion and your answer sir
Suhas GhulePosted May 3, 2013, 2:41 AM
sir you give proper information about creating report throgh crystal reports.please tell me sir what is crystal report ? You can mail me on [email protected] Thanks in advance
ernest mensahPosted Jul 7, 2012, 9:29 AM
plz how do i add multiple parameters in vb.net
sraves panduPosted Apr 7, 2012, 2:16 AM
hi i have downloaded your IntroCr.zp i got an error crystal decision could not found are you missing assembly reference.i have tried for addind reference crystal Desicion but its not available please tell me the solution
sraves panduPosted Apr 7, 2012, 1:49 AM
how to print a person details in c# windows form using crystal reports
rose raoPosted Feb 24, 2012, 11:33 AM
is there a way to use crystal reports in vs express edition?
hani abdalrhmanPosted Oct 19, 2011, 3:56 AM
Hello Guys, How are u all,, i have a problem in field expolrer that appear when i add crystal report page, i want to add mdf file. its all ready connected to the project but its not connected to crystalreport page report.prt,,when i choose OlE DB -->microsoft OLE DB provider for SQL server ,,my server shown,but the particular data base that i add (database1.mdf)not appear in database dropdownlist with science that i am using integrated security.i need assistant ,,any one? Data Source=.\SQLEXPRESS;AttachDbFilename="C:\Users\hani.abdalrhman\Documents\Visual Studio 2008\Projects\WebApplication1\WebApplication1\App_Data\Database1.mdf";Integrated Security=True;User Instance=True
Juan CuellarPosted Sep 22, 2011, 2:15 PM
hello, my question is how can I have my crystal report on a shared network drive for other users to print reports?
RanPosted Apr 27, 2011, 3:57 AM
Hi.. This introductory article on crystal reports is very much clear and understandable.
Kent LewisPosted Apr 6, 2011, 4:37 PM
Would you create a short talk on creating CR from a blank document. Please include setting up the datasources and tables with the columns to be intered into the form. Thank you.
ho vangPosted Apr 6, 2011, 8:58 AM
Hello Mahesh Chand ! I write a app with crystalreport. I build file .exe and copy to other computer but Crystalreportviewer show not correct. please help. Thank you verry much.
Sahil JaniPosted Mar 29, 2011, 3:41 AM
A nice understanding is given overhere. Any one can understand who are in this field. Thanks Mahesh.
vaibhavPosted Mar 3, 2011, 7:35 AM
Hi, I made report using crystal report and viewer but whenever i am gng to compile the code it is asking for DB user name and password every time. so what can i do to avoid this?
Sujeet KulkarniPosted Feb 22, 2011, 5:44 PM
This is my first time doing anything with crystal reports. Actually, I just took over a job half way done and I had to add and delete a lot of forms and hence the previous .docx file was not working and I had no idea how the developer do that. Here I come to CR for Help. In this application whenever you click on a link in then a zip file gets downloaded and this file has docx files already populated with the user whose file was opened. So, I ask for your help so that I can do this easily. Thank you..
shyam kurisetiPosted Feb 17, 2011, 3:50 PM
hai i want to know more about the crystal report custmizing the main screen customization. About the date file options and how to edit the screen.
Rex HardineroPosted Jan 12, 2011, 12:08 PM
I followed all the steps you said.. but in figure 5 i can't connect to server it says "SQL Server doesn't exist or access denied" but i have my database in my localhost server
krishnasagarPosted Nov 24, 2010, 2:02 AM
i have made a crystal report using sql database.but at the time of execution.asking for username and password.what i have to do to avoid this
Aarti BhabalPosted Sep 28, 2010, 6:17 AM
can you able to post the article on Web Based Crystal Report.....
vinayak kulkarniPosted Sep 3, 2010, 1:24 AM
it was good.. but i'm new to the crystal report i want it in more details with,why should we use crystal report,advantage and disadvantage... hope you will implement this..
Nadim ShaikhPosted Jul 20, 2010, 3:56 PM
how to bind drop down list to crystal report////..... For Eg if we want to create report according to month or year how can we do it ????????
Setu KumarPosted Jun 29, 2010, 2:58 PM
how to create crystal reports in ASP.net
sd ashwaqPosted Jun 29, 2010, 2:49 AM
How To sum in formula field in crystalreport in c sharp give me the example of that
nic docsPosted Jun 25, 2010, 3:25 AM
How can i install crystal report template in the pre installed asp.net framework..??
A BeditedPosted Jun 7, 2010, 4:43 PMEdited Jun 7, 2010, 7:13 PM
Hi Mahesh, do you have an idea of why my SQL Server does not appear in the servers list when I have to specify a data source for the crystal report using the wizard (Figure 5)? Any help would be gladly received, thanks
Sam SamPosted Jun 4, 2010, 9:43 AM
I wanna create a Crystal Report where there is field where I'll put a link button by which i wanna nevigate the page to certain page with some value that is collected from Crystal Reports....is it possible???
Antonio BurazerPosted May 23, 2010, 2:46 PM
Hello. I have problem, in my Visual Studio there is no Crystal Report file. How can I fix my problem?
swapnilPosted May 23, 2010, 9:29 AM
r/s thx for providing various coding on this site....
heruvyPosted May 22, 2010, 8:08 AM
Muy bueno , pero tengo un problema. Yo estoy desarrollando sobre vb.net 2005 y lo tengo subido a un hosting alquilado, luego de errores diversos por que no tenian subidas las dll del crystal (y ponerlas en el bin) me encuento con el siguiente error: “An error has occurred while attempting to load the Crystal Reports runtime.” “Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.” “Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information. ” Y segun lo que lei en los foros, hay que instalar el *.msi en el servidor (dado que esta alquilado, no me dan esa autorizacion). Es asi?. Hay alguna solucion para poder usar el CR?. Yo lo implemente con el VB4/5/6 y ahora estoy probando con el report viewer y no es lo mismo. Gracias.
dhiraj shresthaPosted May 11, 2010, 9:57 AM
i found this post very useful.............. But i have make one project in vs 2011 and when i create new item and select crystal report i found different as in vs 2008 i know how to do it ...... so can u please tell me how to create crystal report in visual studio 2010
Parkash KaurPosted May 8, 2010, 7:41 AM
How to show only one record in crystal report instead all record based on query with set parameter in vb.net
NamrataPosted May 7, 2010, 6:01 AM
Hi, This article is really very helpful. But I still have a query that can crystal reports be hosted on a 3rd party server along with my asp.net web application.
abid khanPosted May 4, 2010, 2:52 AM
Hello , bhai I couldn't find crystal report viewer in toolbox. There is only pointer, text object, line object and box object but no crystal report viewer ...
suresh ganjiPosted Apr 29, 2010, 8:47 AM
hii sir, this is firne but i need this article plz help me Crystal Report with dataset using crystal reports 2008
Kundena Mohan GoudPosted Mar 5, 2010, 8:01 AM
Hello sir, By this article I am clear about creating crystal reports. I have 10 columns in page .At present I am giving the Total count of each column at the last of the page . I want each columnn total at the end of each page.please suggest me what to do Thanx
Kundena Mohan GoudPosted Mar 5, 2010, 7:59 AM
Hello sir, By this article I am clear about creating crystal reports. I have 10 columns in page .At present I am giving the Total count of each column at the last of the page . I want each columnn total at the end of each page.
sunil chaudharyPosted Feb 17, 2010, 11:59 PM
it was quiet good but please provide some details to take value from text box and like making a performa invoice or something like this.
Sarah AkhtareditedPosted Feb 6, 2010, 5:32 PMEdited Feb 13, 2010, 9:59 AM
Hi Thanks for this article , like your other articles this is really helpful too. whenever i search for some help, your articles come up and assures that you would have explained well and your article would definitely help. My question is that i have created crystal reports in Visual Studio 2008 and i have connected to Oledb SQL server 2008 database using crystal report wizard as expalined above. My reports are generated fine on my local machine , but when i run the exe on my clients machine , it comes up with an error that 'mylocalmachine\SQL EXPRESS' does not exist. Now i only provide exe file to my customers and going to different clients and changing connection their is not the right way , and customers machines would not have visual studio installed on them so please help me with what i should do to avoid in this scenario Regards Sarah <!--Session data-->
Naveed AbbasPosted Dec 7, 2009, 1:59 PM
Thanks My Dear I found this tutorial very effective for me in understanding crystal reports thanks again.......
balaji thangamuthuPosted Jul 18, 2009, 12:33 PM
i have connected my ms-access database through program. it is working. now i have connected crystal report to my design page.. now whatever fields i have selected while designing the crystal report is coming on my page but it is displying all the row values of the particular column. instead i need a selected rows to display.. all the SQL queries are correct.. please give me the steps tat i must make with code snippet..
kannan kannanPosted Jul 3, 2009, 9:29 AM
I searched for crystal reports more, but not found in past days now i got with understandable explanation a special thank you to the author and this site
priyankaPosted Jun 16, 2009, 6:08 AM
error: reportviewer does not exists in this context . reportsource property is not available for reportviewer. I am using visual studio 2005 and Access database please help me out thanks in advance!
Niyaz AhmadPosted May 29, 2009, 1:28 AM
Hi Mahesh, <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CJohnS%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--[if gte mso 10]> <![endif]--> Is there a way to place random markers on a report?<o:p> </o:p>Here’s the problem….customer places an order, later makes some changes. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CJohnS%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--[if gte mso 10]> <![endif]-->Can you think of any way to dynamically print icon-like symbols like this in multiple places on the Reports. Please help me out. Cheers, Niyaz Ahmad
ERIC HUMPHREYPosted Apr 27, 2009, 10:27 AM
how do i attach crystal reports to my database so that i can preview the reports when necessary? my database is vb.net. i also have crystal report installed in my machine but i cant register the dlls..why?
Muhesh MPosted Apr 2, 2009, 2:38 AM
How can we populate Crystal Reports in VS 2005 by using a DataSet? The query i gave in DataSet is not accepted by the Crystal Report tool....Please reply
Ulla ChristensenPosted Mar 30, 2009, 7:10 AM
I forfot to write , that I am using .NET C#
Ulla ChristensenPosted Mar 30, 2009, 7:07 AM
I am new to Crystal Reports. I have saved my data in a .mdf file, which has worked fine til now. How can I connect to my .mdf file?
happnig girlPosted Mar 17, 2009, 11:35 AM
hi, i am working on windows application VB.NET and using VS2005 but i can't able to find Cryatal Report Viewer in toolbox what could be the reason.
priya deshpandePosted Mar 17, 2009, 6:50 AM
i read this article . it is really helpful. Thanks
agianto simanullangPosted Feb 27, 2009, 10:23 PM
thank's to Mahesh Chand from me, because to help me how to use crystal report with C# and DB SQL Server along day i'm find in many book and site, but difficult to understand after to look this site and registration, i'm understand how to make report with crystal report, C# and DB SQL Server. good bless
najam ulislamPosted Dec 15, 2008, 8:53 AM
hi, i am using crystal reports in asp.net websete but when i access the report there is an error "The report you requested requires further informathin" and textboxes requirng servername, database name, user id and password. plz tell me how to solve this proablem
ds psPosted Nov 17, 2008, 12:08 AM
This article of crystal report is very helpful but i have one problem that is whenever i run the crystal report asks for password to connect to the server (MSSQL 2005) ,though i've given it in connection information.can you please help me to sort it.
Subhashree PalPosted Jan 16, 2008, 3:24 AM
Can anyone tell me a way out to change column header text in a crystal report viewer at runtime when i choose a particular value from a dropdown
Syed afzalPosted Jan 6, 2008, 2:37 PM
i want to make a form for a report in which one date parameter is used and a button to submit . how i use this button to view report to user directly on click to this button
Syed afzalPosted Jan 6, 2008, 2:34 PM
i want to make a form for a report in which one date parameter is used and a button to submit . how i use this button to view report to user directly on click to this button
Syed afzalPosted Jan 6, 2008, 2:31 PM
Kindly give me guidance about reporting in web Application with example or link Thanx
Josh CookPosted Dec 11, 2007, 8:54 AM
I have a C# application with a Crystal Report in it. When some users try to execute the application, they get the error 'Exception has been thrown by the target of an invocation'. I'm thinking that they might be missing some DLLs. Any suggestions?
Josh CookPosted Dec 11, 2007, 8:41 AM
I have a C# application with a Crystal Report in it. When some users try to execute the application, they get the error 'Exception has been thrown by the target of an invocation'. I'm thinking that they might be missing some DLLs. Any suggestions?
Josh CookPosted Dec 11, 2007, 8:39 AM
I have a C# application with a Crystal Report in it. When some users try to execute the application, they get the error 'Exception has been thrown by the target of an invocation'. I'm thinking that they might be missing some DLLs. Any suggestions?
gayathri vPosted Nov 5, 2007, 1:37 AM
How to integrate a crystal report 8.0 with sharepoint 2003
gayathri vPosted Nov 5, 2007, 1:37 AM
How to integrate a crystal report 8.0 with sharepoint 2003
Sreejith ManjalavileditedPosted Oct 31, 2007, 8:37 AMEdited Oct 31, 2007, 8:39 AM
Hi, I am new to Crystal report. I have a crystal report which has a chart displays data from Database based on the date seleted from the form. How can I give an sqlquery, so that I get my chart in desired format. Could some one please help me in this. Thanks in Advance, Sreejith Manjalavil
sree devieditedPosted Sep 16, 2007, 10:30 AMEdited Sep 17, 2007, 5:29 AM
Hi, i have a cross tab in my report.The first column, which shows the checknames from the database.I need to show a heading for that column.Usually in cross tab there is no heading for the first column.I need immediate help.
Anuradha LiparePosted Sep 2, 2007, 10:09 AM
Explain About ADO,RDO& DAO I m confused abt this let me know the difference Thanks
Mohammad AneesPosted Aug 30, 2007, 7:09 AM
Hi;i read your mail its very helpful but sir still i am unable to geneate report.please help me hoe i code,which class or namespaces should i add.if you send me some piece of code that will be very help ful for me; Anees..!
John HazinPosted Aug 27, 2007, 1:59 PM
I have a report created in Crystal 8 and a C# project. I open the report in Crystal 11 and save it. Then add it to my .net project. When I try to run it I get "Namespace "Report" can not be found. If I leave the report in Version 8 the report at least tries to open but I get a connection error. Can you help please?
JAGDISHCHANDRA PATELPosted Aug 3, 2007, 3:22 AM
Dear Mahesh, I am glad to see your helping atitutde. My email is [email protected] I am using Crystal Report 8.0 with my Single user Windowa Application witth VB.NET 2005 Microsoft Access/SQL 2005 Database. At Design Time I am getting View Report with some unknown data. My Dataset is ok. My Data connection is Ok. My data varification is OK. At Run Time I am detting only column heading which is Text. I am not getting any Data at all. Pl. guide me. Waiting for your response. Regards from Jagdish Patel Mobile - 0091 98256 25965
HabibPosted Jul 11, 2007, 5:46 PM
My VC++ app. developed in .NET2003 works well with crystal reports version 8.0. After I migrated to ver 11, the application does not run properly. It totally fails to create the reports. Is there compatibility issue with using .NET2003 & crystal reports 11 ? What is the least painful workaround ?
Zainab SalehPosted Jul 8, 2007, 1:54 AM
i did a crystal report how can i edit it?
Bhuvan PashamPosted Jun 1, 2007, 9:38 AM
I'm migrating my application from VB6 to VB.Net 2005 during which Crystal reports is being upgraded to CRX!-R2 with in VS2005. I have suppress the Parameter Prompt as the application manages the parameters and is not transparent to users. This was done by setting the property oReport.EnableParameterPrompting = False '(In VB6) I'm trying to achieve equivalent in CR.Net I could not figure out how to Achieve this. Some one please help me. thanks in advance.
Mitesh PatelPosted Apr 23, 2007, 12:59 PM
How do i pass the Data need to run a crystal report from another web page?
miscaccountrecPosted Apr 11, 2007, 8:27 AM
I am trying to do this : paramField.set_ParameterFieldName("test"); But I get the following error : 'CrystalDecisions.Shared.ParameterField.ParameterFieldName.set': cannot explicitly call operator or accessor Please let me know what is the meaning of this and how can i rectify.
miscaccountrecPosted Apr 11, 2007, 8:26 AM
I am trying to do this : paramField.set_ParameterFieldName("test"); But I get the following error : 'CrystalDecisions.Shared.ParameterField.ParameterFieldName.set': cannot explicitly call operator or accessor Please let me know what is the meaning of this and how can i rectify.
Arijit SilPosted Apr 11, 2007, 12:56 AM
Please discuus elaborately about supressing the columns in report in accordance with the need
Uwayo JacquesPosted Apr 9, 2007, 8:51 AM
Hi ive made a report using Crystal report viewer and crystal report tool and my Database is Oracle 9i but the problem is that before it shows the report it asks the Database login first and i dont want my users to know the Oracle password .wat can i do? Please Help me
Uwayo JacquesPosted Apr 9, 2007, 8:49 AM
Hi ive made a report using Crystal report viewer and crystal report tool and my Database is Oracle 9i but the problem is that before it shows the report it asks the Database login first and i dont want my users to know the Oracle password .wat can i do? Please Help me
miscaccountrecPosted Apr 9, 2007, 2:50 AM
I have a XML file specified as Database File for a Crystal report. The problem is, the XML is having only 2 columns. But i want a report wherein the columns might get added or deleted based on the condition(selection of some attrbiutes). Please let me know how I can go about this. Also kindly tel me whether my approch of using the XML file is correct or not.
miscaccountrecPosted Apr 9, 2007, 2:49 AM
I have a XML file specified as Database File for a Crystal report. The problem is, the XML is having only 2 columns. But i want a report wherein the columns might get added or deleted based on the condition(selection of some attrbiutes). Please let me know how I can go about this. Also kindly tel me whether my approch of using the XML file is correct or not.
vasundhara RavikantiPosted Mar 19, 2007, 3:53 AM
By this article iam clear about creating crystal reports
vasundhara RavikantiPosted Mar 19, 2007, 3:52 AM
How to create customized crystal reports in C#