how would I print an access table(I am using ADO) in VB6?
Printable View
how would I print an access table(I am using ADO) in VB6?
With DataReport for example.
DataReport?
I am still new to a lot of stuff in VB6, could you forward me to a link or explain what that means?
On the project explorer right click -> Add -> DataReport.
It works with recordsets
I'll give you an example.
Here is a good link with example. Good luck :)
http://msdn.microsoft.com/library/de...datareport.asp
quick question
is there an ADO command to just tell access to print the current open table?
No... ADO is just a link between your program and a database, which allows you to transfer data (and meta-data) from one to the other.
Also, as far as ADO is concerned, there is no "current open table" - only a selection of recordsets which are open (which may possibly be based on whole tables).
If you want to print the data, you need to either use some kind of reporting tool (Data Report/Crystal Report), or print it yourself with code using the Printer object.