straybullet
IS-IT--Management
Am able to produce a comma-delimited logfile using the following:
'Keep track of Report Printing
Open "\\Serv-s01\Customer Service\CSDBLog.txt" For Append As #1
Print #1, CurrentUser() & ", " & Environ("Computername") & ", " & Date & ", " & Time & ", " & Me.Name
Close #1
On the OnOpen event of a Report.
However, no matter what I try, I cannot differentiate between Previewing the report and actually Printing it.
Any suggestions?
Let them hate - so long as they fear... Lucius Accius
'Keep track of Report Printing
Open "\\Serv-s01\Customer Service\CSDBLog.txt" For Append As #1
Print #1, CurrentUser() & ", " & Environ("Computername") & ", " & Date & ", " & Time & ", " & Me.Name
Close #1
On the OnOpen event of a Report.
However, no matter what I try, I cannot differentiate between Previewing the report and actually Printing it.
Any suggestions?
Let them hate - so long as they fear... Lucius Accius