Good day
My scripting skills are Nil and hoping for some help or direction where I can find the answer everything I have come across doesn’t seem to fit or be from a much older version of Access it doesn’t seem to work in Access 2010.
I would like to email just the current record I have on the screen. I have placed an email button thought the wizard but it will only email all 5000 records. How do I go about limiting it to just the current record?
Thanks for any and all assistance
Private Sub Command325_Click()
On Error GoTo Err_Command325_Click
Dim stDocName As String
stDocName = "Rpt_Word_orders"
DoCmd.SendObject acReport, stDocName
Exit_Command325_Click:
Exit Sub
Err_Command325_Click:
MsgBox Err.Description
Resume Exit_Command325_Click
End Sub
My scripting skills are Nil and hoping for some help or direction where I can find the answer everything I have come across doesn’t seem to fit or be from a much older version of Access it doesn’t seem to work in Access 2010.
I would like to email just the current record I have on the screen. I have placed an email button thought the wizard but it will only email all 5000 records. How do I go about limiting it to just the current record?
Thanks for any and all assistance
Private Sub Command325_Click()
On Error GoTo Err_Command325_Click
Dim stDocName As String
stDocName = "Rpt_Word_orders"
DoCmd.SendObject acReport, stDocName
Exit_Command325_Click:
Exit Sub
Err_Command325_Click:
MsgBox Err.Description
Resume Exit_Command325_Click
End Sub