K
Kraven
Guest
Hi,
i have a database and use a form to add data. i can print single records with a button. see below.
Private Sub Knop45_Click()
Dim strDocNaam As String
Dim strFilter As String
strDocNaam = "Storingen"
strFilter = "[Storings-ID] = Forms![Storingen aanmelden]![Storings-ID]"
DoCmd.OpenReport strDocNaam, acViewNormal, , strFilter
End Sub
i would also like to email this data but with data in the body of the email, not as an attachment. the email adres is in the form.
can somebody give me a hand? thanks in advance
i have a database and use a form to add data. i can print single records with a button. see below.
Private Sub Knop45_Click()
Dim strDocNaam As String
Dim strFilter As String
strDocNaam = "Storingen"
strFilter = "[Storings-ID] = Forms![Storingen aanmelden]![Storings-ID]"
DoCmd.OpenReport strDocNaam, acViewNormal, , strFilter
End Sub
i would also like to email this data but with data in the body of the email, not as an attachment. the email adres is in the form.
can somebody give me a hand? thanks in advance