Results 1 to 6 of 6

Thread: Problem with DataReport and Mysql Database

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2007
    Posts
    82

    Problem with DataReport and Mysql Database

    Hy

    I am building an application that is using an mysql database and I am trying to build Datareports using ADO data control.
    My problem is that in the reports it puts me only the first record from the database for "Number of records" times, so I can't see all the records I need.

    My code looks like this:


    With DR
    Set .DataSource = rs

    .Sections("section1").Controls.Item("Txt0").DataField = rs.Fields(0).Name
    .Sections("section1").Controls.Item("Txt1").DataField = rs.Fields(1).Name
    .Sections("section1").Controls.Item("Txt2").DataField = rs.Fields(2).Name
    .Refresh
    End with

    Waiting for your response.
    Thanks
    Last edited by Hack; Mar 19th, 2008 at 06:12 AM.

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