Results 1 to 8 of 8

Thread: [RESOLVED]VB6.0 with Crystal Report 10

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2008
    Posts
    17

    Resolved [RESOLVED]VB6.0 with Crystal Report 10

    Hi friends,
    Im using VB6.0 with Crystal Report 10 DB: MSACCESS
    Please provide some sample coding that connects the report(CR 10) to view the report. I was using crystal report 6 and now i have upgraded to 10. But im getting error as "Unable to load report"
    Please help me out in resolving this problem.
    THANKS in advance.
    Selvakumar

    THANKS to all for guiding in using vb6 and cr10 successfully
    Last edited by kselvakumar_82; Apr 14th, 2008 at 01:21 AM.

  2. #2
    Frenzied Member
    Join Date
    Aug 2006
    Location
    India, Punjab, Bhatinda
    Posts
    1,689

    Re: VB6.0 with Crystal Report 10

    Welcome Selvam
    You may require
    • Crystal Report ActiveX Designer Runtime Library XX (References)
    • CR viewer component(Components)
    May be if you post your existing code, somebody might be able to suggest more...
    Goodluck

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Apr 2008
    Posts
    17

    Arrow Re: VB6.0 with Crystal Report 10

    THANKS buddy.
    I have done that. How to use selection formula. Previously i used in VB coding. For eg:
    .SelectionFormula = "trim({table1.Branch})='" & cmbBR.Text & "'"
    Now its not accepting.Please guide me.

  4. #4
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: VB6.0 with Crystal Report 10

    I imagine that you used OCX to view the reports in Crystal Reports 6, since that the RDC method comes from Crystal Reports 7 until 10.

    So in Crystal Reports version 10 the OCX is obsolete

    Visit the next links, it could be of some help to you

    http://www.mahipalreddy.com/cr/crcodes1.htm
    http://technicalsupport.businessobje...read/7266.aspx

  5. #5
    Frenzied Member
    Join Date
    Aug 2006
    Location
    India, Punjab, Bhatinda
    Posts
    1,689

    Re: VB6.0 with Crystal Report 10

    Now its not accepting.Please guide me.
    what are you meaning by this. You don't get the desired records or some error comes out or the report contains all records (i.e. without filtering)...
    you might also consider providing the relevant code snipptes (pls use Code Tags)

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Apr 2008
    Posts
    17

    Re: VB6.0 with Crystal Report 10

    im getting error as Invalid or unqualified reference. The reference i use is crystal activex report viewer 10. Will the report only been showed in form(VB form) or is there any way that the report can be viewed in the application as like the one when viewed in crystal report 6.(a vb form calling the report which is displayed in fresh page like... unlike in CR10 i have used CRViewer whic displays the report in the form itself. I need the report to be displayed not in vb forms.) Guide me please.

  7. #7
    Frenzied Member
    Join Date
    Aug 2006
    Location
    India, Punjab, Bhatinda
    Posts
    1,689

    Re: VB6.0 with Crystal Report 10

    Will the report only been showed in form(VB form) or is there any way that the report can be viewed in the application as like the one when viewed in crystal report 6.
    you want to view report made in CR10 inside CR6
    I need the report to be displayed not in vb forms.
    Well since you are using VB6 Form is the obvious choice. May be you can try in SSTab....
    where else you want to display the report

  8. #8
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: VB6.0 with Crystal Report 10

    In VB6 applications you can use CR10 thru RDC or API and the only way to display the reports is using a CRViewer object inside a VB6 form
    Please visit
    http://www.mahipalreddy.com/cr/crcodes1.htm
    there are some examples that explain the use of CR10 RDC in VB6

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