Results 1 to 7 of 7

Thread: help!!!!!1Crystal Report 10 in VB 6.0

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2005
    Posts
    21

    Question help!!!!!1Crystal Report 10 in VB 6.0

    hi all gurus

    i am stuck
    i am opening crystal report 10 report in vb 6 application. but problem is when i refresh report in vb it gives me login fail error
    my backend is sql ser 2000.
    i am using view of sql as my datasource
    thanks
    Rupal

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: help!!!!!1Crystal Report 10 in VB 6.0

    Moved from the CodeBank.

    Welcome to the forums.

    Is your report bound to a specific SQL Server DB table or are you just linking it to your DB?

    It sounds like that on refresh the connection between Crystal and SQL Server is being broken. The message you are getting is asking you to login in to the database.

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: help!!!!!1Crystal Report 10 in VB 6.0

    Quote Originally Posted by PM Message From rupal
    thanks hack
    my report is bound to specific table of sql 2000 server and connection is getting break when i say refresh, rather then asking me password again it just shows login fail messgae and if i donot refresh data it gives me report with old data
    When you are in the Crystal Report Designer, and you open your report in design view, do you have a solid database connection then?

    I'm trying to find out if you are losing your connection on the VB end or the Crystal Report end.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    May 2005
    Posts
    21

    Re: help!!!!!1Crystal Report 10 in VB 6.0

    " Rupal :- yes i have solid database connection in CR 10, and when i refresh in Cr 10 , it is asking me user name,password dialog and after i provide proper value it refresh data in preview of Crystal Report 10 but through it gives me login fail message when i refresh crystal report ocx object "

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: help!!!!!1Crystal Report 10 in VB 6.0

    Quote Originally Posted by rupal
    " Rupal :- yes i have solid database connection in CR 10, and when i refresh in Cr 10 , it is asking me user name,password dialog and after i provide proper value it refresh data in preview of Crystal Report 10 but through it gives me login fail message when i refresh crystal report ocx object "
    Ok...so you are losing your connection when you attempt to refresh the report from within the Crystal Report Designer.

    Let me do some research.

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: help!!!!!1Crystal Report 10 in VB 6.0

    Here is a link to a PDF file that has a ton of good information on a variety of CR topics, including database connections.

  7. #7

    Thread Starter
    Junior Member
    Join Date
    May 2005
    Posts
    21

    Re: help!!!!!1Crystal Report 10 in VB 6.0

    There is something wrong with link it is not opening .

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