S
Srenfro
Hello,
I have a printing problem with my data base I have a print button that
prints but it prints every record i have but I would like it to only print
one record and be the current one that I am viewing. and i dont want to
preview it eather I want instant print from report. the code in my button is:
Private Sub cmdPrintRecord_Click()
On Error GoTo Err_cmdPrintRecord_Click
DoCmd.RunCommand acCmdSelectRecord
DoCmd.PrintOut acSelection
Exit_cmdPrintRecord_Click:
Exit Sub
Err_cmdPrintRecord_Click:
MsgBox Err.Description
Resume Exit_cmdPrintRecord_Click
End Sub
thank you!
I have a printing problem with my data base I have a print button that
prints but it prints every record i have but I would like it to only print
one record and be the current one that I am viewing. and i dont want to
preview it eather I want instant print from report. the code in my button is:
Private Sub cmdPrintRecord_Click()
On Error GoTo Err_cmdPrintRecord_Click
DoCmd.RunCommand acCmdSelectRecord
DoCmd.PrintOut acSelection
Exit_cmdPrintRecord_Click:
Exit Sub
Err_cmdPrintRecord_Click:
MsgBox Err.Description
Resume Exit_cmdPrintRecord_Click
End Sub
thank you!