I was linked to
http://msdn.microsoft.com/library/de...datareport.asp
but I am having a hard time figuring it out, I am trying to get a table from Access to print out from VB
help
Printable View
I was linked to
http://msdn.microsoft.com/library/de...datareport.asp
but I am having a hard time figuring it out, I am trying to get a table from Access to print out from VB
help
Try looking at the "Creating a Simple Data Report" link on the left of that page... it guides you thru the whole process.
I tried, but on like the 3rd step is says
I can't find "Data Link Properties"Quote:
"3. # On the Data Link Properties dialog box, click Microsoft Jet 3.51 OLE DB Provider. This selects the correct OLE DB provider for accessing a Jet database."
At the top of the "DataEnvironment" window, it's the 8th icon along (when you hover on it, it is labeled "properties").
I am having trouble following that tutorial, specifically part 5 of datareport
I don't see what it means, I just need help making something so I can print off a specific table from an Access database from VB6Quote:
5. From the Data Environment designer, drag the CompanyName field (under the Customers command) onto the Group Header (Customers_Header) section.
The Group Header section can contain any field from the Customers command, however, for demonstration purposes, only the Customer name is displayed at this time.
help
Like most others on the forums, I dont use the Data Report or Data Environment myself. As so few use them, it will be hard for you to get assistance from us - which it seems you will probably need much more of.
I would recommend just using the Printer object instead, as it allows you to print whatever you like directly from VB code.
A decent example for it can be found here. You will want to change the code a bit so that it uses a loop to print the rows of data.