|
-
Nov 22nd, 2006, 02:51 AM
#1
Thread Starter
Addicted Member
pasword manager
i have create da new vb.net , ms access and cr 8.0 project . the database is password protected so every time crystal report in opend it demands for the database pass word is there some way to avoid that or can the password be pre provided by some manner ???
Using VB.NET 2003/.NET 1.1
If you found a post useful then please Rate it!
Please mark you thread resolved using the Thread Tools above
-
Nov 22nd, 2006, 02:58 AM
#2
Re: pasword manager
yes you can include the password in the connection string. Check this link for MS Access connection strings.
-
Nov 22nd, 2006, 03:06 AM
#3
Thread Starter
Addicted Member
Re: pasword manager
but i am not giving crystal report any connection string so where to add the string for crytal report to connect with data base
Using VB.NET 2003/.NET 1.1
If you found a post useful then please Rate it!
Please mark you thread resolved using the Thread Tools above
-
Nov 22nd, 2006, 03:08 AM
#4
Lively Member
Re: pasword manager
If you use the crystal report that will connect to the database directly and wish the cystal report to login itself, may be you can look at this link
http://technicalsupport.businessobje...1%200%20356275
-
Nov 22nd, 2006, 04:01 AM
#5
Thread Starter
Addicted Member
Re: pasword manager
VB Code:
If you are using an Oracle database, specify the schema name for 'myOwner' but do not specify a value for 'DatabaseName'
:crTable.Location = myDBName & "." & myOwner & "." & crTable.Location.Substring
can u plz tell me what to write in my owner and my db name
Using VB.NET 2003/.NET 1.1
If you found a post useful then please Rate it!
Please mark you thread resolved using the Thread Tools above
-
Nov 22nd, 2006, 04:12 AM
#6
Lively Member
Re: pasword manager
If you are reporting off an Access database, then
specify either the 'ServerName' or 'DatabaseName'
to the 'ConnectionInfo' Object depending on
how you are connecting to Access.
For example, if you are connecting to Access
through ODBC, then set the 'DatabaseName' for the
'ConnectionInfo' object as follows:
With crConnectionInfo
.DatabaseName = "C:\mydatabase\mydata.mdb"
End With
If you are connecting to Access through OLE DB,
then set set the 'ServerName':
With crConnectionInfo
.ServerName = "C:\mydatabase\mydata.mdb"
End With
It is not possible to report of a secured Access
database using a native connection. See knowledge
base article C2010460 for more information.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|