Results 1 to 3 of 3

Thread: Crystal/VB 6.0 Password

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Indiana
    Posts
    612

    Unhappy Crystal/VB 6.0 Password

    I have a crystal report that is part of my vb 6.0 application. The report access a sql database. The program runs fine.

    I know this is not a big deal, but every single time I run the program in source code, a Data Link property box comes up and I have to enter the SQL password. Even when I click on save the password.

    Is there some setting that I set that would prevent this from happening?

    Thanks

    David
    David Wilhelm

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Crystal/VB 6.0 Password

    Originally posted by indydavid32
    I have a crystal report that is part of my vb 6.0 application. The report access a sql database. The program runs fine.

    I know this is not a big deal, but every single time I run the program in source code, a Data Link property box comes up and I have to enter the SQL password. Even when I click on save the password.

    Is there some setting that I set that would prevent this from happening?

    Thanks

    David
    what is your code to run the report?

  3. #3
    New Member
    Join Date
    Aug 2003
    Posts
    1

    Try that

    CRW32.Connect = "DSN=data_source;UID=user;PWD=password;DSQ=;"

    CRW32 = Crystal Report Control
    data_source = is the data source you must use
    user = sa, example
    password = sa password, example

    Regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width