-
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!
-
First thing, are you using the data environment or are you looking for a way to dynamically bind the fields on the data report?
-
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.
-
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.
-
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.
-
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...