Results 1 to 6 of 6

Thread: [General] Using Data Report?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    6

    Question

    Hello,

    I'm pretty new to the VB Data Report [ie: I don't know how to use it ] and I'm wondering if there's any tutorial on this subject. I've tried to follow the one on MSDN but couldn't get the result that I wanted. What I wanted to do is:

    I want to retrieve data from an access database and put entries from a table on the data report. I've got a connection to the databse, and I don't know how to put the items/entries on the report.

    Thanks in advance!

  2. #2
    Addicted Member
    Join Date
    May 2000
    Posts
    188
    First thing, are you using the data environment or are you looking for a way to dynamically bind the fields on the data report?

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    6
    Actually, nothing fancy. It's just a static set of data. I'm not using the data environment, I only hardcoded the database connection initialization.

  4. #4
    Addicted Member
    Join Date
    May 2000
    Posts
    188
    Ok, so now I'm confused... Is the information that you want in the data report in a table in a database? give me an example if you can.

  5. #5

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    6
    Yes. Here it goes:

    I've got a .mdb file, and a table. I just want the report to show the entries in that table.

  6. #6
    Addicted Member
    Join Date
    May 2000
    Posts
    188
    The easiest thing for you to do would be to set up a data environment with a connection to your database and a command object that would return the contents of the table in a recordset. Then setup the data report the way you would like the information to display and bind the fields on the data report to the fields in your recordset. Let me know if I'm making any sense to you...

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