C
Céline Brien
Hi !
I used the assistant to create a button to print the current form.
I would like to print only the form, not the subform.
Can I add codes to the codes below to print only the current form
without the subform or only the page 1 of the current form ?
Many thanks,
Céline
------------------------------------------------------------------------
Private Sub Commande231_Click()
On Error GoTo Err_Commande231_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection
Exit_Commande231_Click:
Exit Sub
Err_Commande231_Click:
MsgBox Err.Description
Resume Exit_Commande231_Click
End Sub
I used the assistant to create a button to print the current form.
I would like to print only the form, not the subform.
Can I add codes to the codes below to print only the current form
without the subform or only the page 1 of the current form ?
Many thanks,
Céline
------------------------------------------------------------------------
Private Sub Commande231_Click()
On Error GoTo Err_Commande231_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.PrintOut acSelection
Exit_Commande231_Click:
Exit Sub
Err_Commande231_Click:
MsgBox Err.Description
Resume Exit_Commande231_Click
End Sub