> Hi,
> By clicking on a button in a form, I preview a report.
[quoted text clipped - 23 lines]
>
> End Sub
Look up the PrintOut method in VBA help.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "EPlaintes"
stLinkCriteria = "[NoMembre]=" & Me![NoMembre]
DoCmd.OpenReport stDocName, acPreview, , stLinkCriteria
DoCmd.PrintOut acPages, 1, 1
etc.

Signature
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
Céline Brien - 04 Aug 2005 12:55 GMT
Hi Fred,
It works !
Thank you.
PrintOut method. It is noted.
Have a good day.
Céline
> > Hi,
> > By clicking on a button in a form, I preview a report.
[quoted text clipped - 34 lines]
> DoCmd.PrintOut acPages, 1, 1
> etc.