Print History storing into table

siddnave2

Registered User.
Local time
Today, 19:57
Joined
Nov 19, 2015
Messages
16
Hi,

Can any one help me to record printing history issued from my access form created by me. the details required to be stored in access table with date,username,reportname, No of prints.

Thanks in Advance.

Naveen.
 
you need a table to store the results and in the code behind your print button so code something like

currentdb.execute("INSERT INTO tblPrintLog (date,username,reportname, printQty) VALUES(now(),'" & username & "', '" & reportname & "', " & printNumber & ")"

change names to suit your setup. It is assumed you would get username from a global variable set at login time, reportname and quantity from your form
 

Users who are viewing this thread

Back
Top Bottom