Loading CrystalReports.rpt, I Am Asked To Enter Login ID And Password

  • Thread starter Christopher Lusardi
  • Start date
C

Christopher Lusardi

How do I stop VB from asking me this? I want to view the Crystal Report
immediately without the prompt.

Thank you,
Christopher Lusardi
 
C

Christopher Lusardi

Christopher said:
How do I stop VB from asking me this? I want to view the Crystal Report
immediately without the prompt.

Thank you,
Christopher Lusardi

Also, with a simplier version of my application, I was never asked for
a password to this Access database. The old version would display the
report immediately without beging asked for a password.

Thanks,
Christopher Lusardi
 
K

keanhee

Hi,
Crystal reports did a bad job on database login. It's better than you
pass a ADO dataset to crystal report instead of using crystal report to
login to database..

Thanks
keanhee
 
C

Christopher Lusardi

keanhee said:
Hi,
Crystal reports did a bad job on database login. It's better than you
pass a ADO dataset to crystal report instead of using crystal report to
login to database..

What will happen if I do this? Will I always be prompted for a
password? Do have to do anything else besides the below? Will the below
even compile?

Old Code
CrystalReport1.Load("C:\Documents and
Settings\chrislusardi\Desktop\EMPLOYEE
DATABASE\Employee_Database_Program\Employee_Database_Program\CrystalReport1.rpt")

New Code
CrystalReport1.Load (Employee_DatabseDataSet)

Thank you,
Christopher Lusardi
 
C

Christopher Lusardi

Christopher said:
What will happen if I do this? Will I always be prompted for a
password? Do have to do anything else besides the below? Will the below
even compile?

Old Code
CrystalReport1.Load("C:\Documents and
Settings\chrislusardi\Desktop\EMPLOYEE
DATABASE\Employee_Database_Program\Employee_Database_Program\CrystalReport1.rpt")

New Code
CrystalReport1.Load (Employee_DatabseDataSet)

When I do that "New Code" above, it tells me, cannot be converted to
String.
 
C

Christopher Lusardi

Hello,

I have discovered why I am now being prompted for a user ID and
password. I modified my connection string to use DataDirectory so that
I can get the benefit of using a relative path to my database! How can
I prevent being prompted for user ID and password while I use keyword
DataDirectory?

Thank you,
Christopher Lusardi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top