Blue Theme Orange Theme Green Theme Red Theme
 
Skip Navigation Links
C# Corner Home
Forum Home
Latest 50
Unanswered
Win $500 Cash
All Time Leaders
Jump to CategoryExpand Jump to Category
Login 
    Welcome Guest!
 Search Forum For :  
X
 Login
Please login to submit a new post, reply and edit exiting posts, see user profiles, and access more features. If you are not a registered member, Register here.
User Id:
Password:  
Forgot Password | Forgot UserName
   Home » Reporting » Regarging Crystal reports
       
Author Reply
Sriram Ramani
posted 57 posts
since Jan 03, 2009 
from Coimbatore

 Regarging Crystal reports
  Posted on: 11/4/2009 2:01:35 AM       
Hi experts, (Using access database!)Now i have situation , i need to create a billing software . I have created a crystal report in vs 2008. I have added a dataset which contains the lists of tables and i have a report template created , then i have added the fields needed to be shown in the report. Now what i need is when creating the dataset i added the database field to it by directly selecting the database from my local system . I have a doubt that when i deploy the project to the client's machine if the database file gets installed to some other location?. Can they still have the report generated properly or will there be any problem?
Sriram
Arumugam A
posted  4 posts
since  Nov 04, 2009 
from 

 Re: Regarging Crystal reports
  Posted on: 11/4/2009 2:17:06 AM       

no need to worry
 It will work fine as of now.
 
but u have to change the server name in the connection string
niki d
posted  220 posts
since  Oct 27, 2006 
from 

 Re: Regarging Crystal reports
  Posted on: 11/4/2009 2:23:22 AM       

Hi Sriram,
 
Great. Now you have a crystal report template and you have added a dataset to the report.
 
Eventhough you have conncted it with your local database, if you pass a dataset from your code to the report, the report will show the data set passed by the code. Not the dataset which was set at the creation of the report.
 
So, if you deploy your database at any location, make sure to access it and get a dataset and pass it to the report through the code. If you pass a dataset, the report will show it. If you dont pass anything, the report will try to connect to you local database and get the dataset from that DB.
 
Hoe you got my point.
 
If this answer answers your problem,  please spend a few seconds to accept this answer.

Niki

Sriram Ramani
posted  57 posts
since  Jan 03, 2009 
from  Coimbatore

 Re: Regarging Crystal reports
  Posted on: 11/4/2009 3:52:03 AM       
Thank you all so much. It worked well. Now i have one more thing, i need to design in such a way that the user enters the standard(class like 1st , 2nd etc) t, studentname , month details . Now depending on the value the user enters the parameters must search from the database, and return the appropriate details . Based on this result i must be able to print a bill.. What i have already done is that having two parameters in the report template. Now i need to check those values with the corresponding in the database. What should i do now?
Sriram
       
Sponsored by
Become a Sponsor
Developer-Ready ASP.NET 2.0 Web Hosting with 3 MONTHS FREE
Now supporting .NET 3.0 Framework with Windows Workflow Foundation, Windows Communication Foundation (WCF), Windows Presentation Foundation (WPF), windows CardSpace (WCS)! Providing more flexibility for Developers with Web Services Support and a User/Permission Manger. Also supporting MS SQL 2005/2000 with Real-Time Backups, FREE Automated Attach .MDF Tool, FREE SQL Restore and Shrink SQL DB Tools, and SQL
Dynamic PDF
ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
Introducing MaxV - one click. infinite control. Hyper-V Hosting from MaximumASP.
Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Clickatell's SMS Gateway
Clickatell's Developer Solutions allow you to SMS enable any website or application via a range of API's. Learn More about our API connections.
Free access to .NET Memory Management video
Everything you need to know about Garbage Collection, Temporary Objects, Fragmentation, Finalization and common causes of memory leaks in .NET. Watch the video here.
Microsoft Visual Studio 2010
Microsoft Visual Studio 2010 offers more to developers than any other Visual Studio release. Work more productively and collaboratively-with greater control over your work at every step. The Beta 2 can give you a head start on achieving efficiency.

 Hosted by MaximumASP  |  Found a broken link?  |  Contact Us  |  Terms & conditions  |  Privacy Policy  |  Site Map  |  Advertise with us
Current Version: 3.2009.8.27
 © 1999 - 2009  Mindcracker LLC. All Rights Reserved