CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2003
    Location
    Bangalore,INDIA
    Posts
    122

    Crystal Reports in VC++

    Hello All,

    I have used Crystal Report XI in my vc++ program...the problem is when i try to run reports from the program everytime it asks for user id of the database..

    When i call the below function, it is asking the connection parameters..
    m_Report->put_SQLQueryString((_bstr_t)sQuary2);

    Can anybody help me..it's urgent..

    Regards,
    Poornima.

  2. #2
    Join Date
    Nov 2001
    Location
    Kerala,India
    Posts
    650

    Re: Crystal Reports in VC++

    You have to automate crystal report object and set log on info, using raw_SetLogOnInfo of Table object. i had said this from my memmory cose we have dome similar before. any way i am sending a file for your refferece check whether its usefull for you.
    Attached Files Attached Files
    Do rate this post if it find useful to you

  3. #3
    Join Date
    Jun 2003
    Location
    Bangalore,INDIA
    Posts
    122

    Re: Crystal Reports in VC++

    Hi Vinod,

    I have followed your steps, but i am gettings runtime error. ihave attached error message. Please look into it.

    Thanks & Regards,
    Poornima.
    Attached Images Attached Images

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

Featured