Hello there
I have Access 2010. What are the commands to print certain records from a query to the printer or a text file? Does VBA have an actual "write" or "print" command? thanks!
Hello there
I have Access 2010. What are the commands to print certain records from a query to the printer or a text file? Does VBA have an actual "write" or "print" command? thanks!
The commands I use the most are
Docmd.OutputTo
Docmd.TransferSpreadsheet
Docmd.TransferText
And you can use VBA to create text files (.txt or .csv) and print/write whatever you want.