Data Connectivity
 Crystal Reports Forum : Crystal Reports .NET 2003 : Data Connectivity
Message Icon Topic: Password Problem Post Reply Post New Topic
Author Message
empireevil
Newbie
Newbie


Joined: 25 May 2007
Location: Canada
Online Status: Offline
Posts: 1
Quote empireevil Replybullet Topic: Password Problem
    Posted: 25 May 2007 at 10:18am

I have a problem with the connection password...

I have created a report on Crystal report and all works nice... the connection is ok and the feild appear.
 

frmRapport rap;

rap = new frmRapport();

rap.crVue.ReportSource = @"..\..\Rapport\crEndroit.rpt";

rap.ShowDialog();

my Data Base is protected by a password...
when I open my form... there is a Database login windows that appear... I try the password and it doesn't work... I try to leave the feild empty and it's still doesn't open
 
what should I do
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3701
Quote hilfy Replybullet Posted: 28 May 2007 at 1:27pm
You need to set the database login in your report prior to showing it.  There is sample code in the BusinessObjects Developer Library (http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm) that shows how to do this.  Click on "Crystal Reports .NET SDK" to get to it.  I HIGHLY recommend that you go through at least some of the ".NET Developer Guide and API Reference" section to get a better understanding of how all of the pieces fit together.  Also, Brian's Crystal Reports .NET Programming book has a LOT of good info in it.  The current version applies specifically to VS 2003, but a lot of the info also applies to 2005.  You can download a couple of chapters here:  http://www.crystalreportsbook.com/crystal_reports_net_book_index.asp.
 
-Dell
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.