Results 1 to 4 of 4

Thread: Basic CR9.2 problem

  1. #1

    Thread Starter
    Hyperactive Member naruponk's Avatar
    Join Date
    Feb 2004
    Location
    Some where in the world
    Posts
    423

    Basic CR9.2 problem

    Hi all,

    I have a doubt about Crystal report 9.2.
    How can i assign a report from coding just like I want the report to show a data that ID>100 how can i retrieve it?

    another way to explain is ....
    like this
    rs.open "Select * from tblA"
    ' then how set crystal report to show data from rs


    Thank you

  2. #2
    Fanatic Member SkiNLaB's Avatar
    Join Date
    Jan 2002
    Location
    Sydney, Australia
    Posts
    747
    You will need to set up a Data Definition File (ddf) for your report. Which will list what fields your recordset will contain, Then you can design your report from that ddf, by setting the report's datasource to that file.

    Then in VB, you can pass the data for the report like so

    cReport.Database.SetDataSource rst


    For a detailed run through see here, it talks about using MySQL, but its methods are database independant.

    http://vbmysql.com/articles/crystal-...alvbmysql.html

    If you have any more questions, I'll be glad to help

  3. #3

    Thread Starter
    Hyperactive Member naruponk's Avatar
    Join Date
    Feb 2004
    Location
    Some where in the world
    Posts
    423
    Thanks SkiNLaB,

    but i really dont know how to set up ddf file
    can you tell me a little more?

    thanks

  4. #4

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