Wrox Programmer Forums
|
BOOK: Professional Crystal Reports for VS.NET
This is the forum to discuss the Wrox book Professional Crystal Reports for Visual Studio .NET by David McAmis; ISBN: 9780764544033
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Crystal Reports for VS.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 13th, 2004, 11:11 AM
Registered User
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Changing DataBase at run time

I am having trouble finding any help with assigning a database to a Crystal Report at run time. Say you have a VB.NET application that will produce a variety of reports. This application is distributed to several users at different locations in your organization. When a user runs the application, you want to assign the proper databases based on the users location. How would I do this in code?

 
Old September 17th, 2004, 03:24 AM
Friend of Wrox
 
Join Date: Sep 2004
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to sureshbabu Send a message via Yahoo to sureshbabu
Default

Hi ,
  You have to create one common page with diffrent records sets. Based on the key (you can take it as querystring) you have to assign taht recodset to the crystal Report open method.
But you have to write code for all the recordsets.
If u have any doubts mail me back
Thanks
Suresh Babu .T







Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing image at run time Swati Chari Beginning VB 6 0 March 12th, 2008 06:02 AM
changing data source location at run time sandeepjakhotya Crystal Reports 0 April 16th, 2006 05:40 AM
Adding new field to a database table in run time dotnet cat ASP.NET 1.0 and 1.1 Basics 1 October 6th, 2005 01:36 PM
converting database driver in run time shun Pro VB Databases 0 July 16th, 2004 10:17 AM
Changing forms properties at run time Louisa VB.NET 2002/2003 Basics 5 January 15th, 2004 01:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.