Impression un état à partir du formulaire sans l'ouvrir en aperçu [Fermé]
Signaler
FONGBE
Castours -
- Messages postés
- 111
- Date d'inscription
- samedi 5 novembre 2016
- Statut
- Membre
- Dernière intervention
- 23 février 2020
Castours -
A voir également:
- Impression un état à partir du formulaire sans l'ouvrir en aperçu
- Imprimer un etat a partir d'un formulaire ✓ - Forum - Bases de données
- Ouvrir fichiers à partir d'internet sans les télecharger ✓ - Forum - MacOS
- Etat basé sur un formulaire de recherche ✓ - Forum - Access
- Impression de filtre d'un sous formulaire ✓ - Forum - Access
- Remise état d'usine/Réinstaller win7 sans le cd ✓ - Forum - Matériel informatique
8 réponses
castours
Bonjour
Dans cet exemple , tu as
une visualisation en impression avec acNormal
Apercu
Private Sub Commande69_Click()
On Error GoTo Err_Commande69_Click
Dim stDocName As String
stDocName = "eta_Consommation annuelle par type d'energie"
DoCmd.OpenReport stDocName, acNormal
Exit_Commande69_Click:
Exit Sub
Err_Commande69_Click:
MsgBox Err.Description
Resume Exit_Commande69_Click
End Sub
Dans cet exemple , tu as
une visualisation en apercu avec acPreview
Apercu
Private Sub Commande69_Click()
On Error GoTo Err_Commande69_Click
Dim stDocName As String
stDocName = "eta_Consommation annuelle par type d'energie"
DoCmd.OpenReport stDocName, acPreview
Exit_Commande69_Click:
Exit Sub
Err_Commande69_Click:
MsgBox Err.Description
Resume Exit_Commande69_Click
End Sub
acNormal pour imprimer
acPreview pour apercu
Dans cet exemple , tu as
une visualisation en impression avec acNormal
Apercu
Private Sub Commande69_Click()
On Error GoTo Err_Commande69_Click
Dim stDocName As String
stDocName = "eta_Consommation annuelle par type d'energie"
DoCmd.OpenReport stDocName, acNormal
Exit_Commande69_Click:
Exit Sub
Err_Commande69_Click:
MsgBox Err.Description
Resume Exit_Commande69_Click
End Sub
Dans cet exemple , tu as
une visualisation en apercu avec acPreview
Apercu
Private Sub Commande69_Click()
On Error GoTo Err_Commande69_Click
Dim stDocName As String
stDocName = "eta_Consommation annuelle par type d'energie"
DoCmd.OpenReport stDocName, acPreview
Exit_Commande69_Click:
Exit Sub
Err_Commande69_Click:
MsgBox Err.Description
Resume Exit_Commande69_Click
End Sub
acNormal pour imprimer
acPreview pour apercu
FONGBE
- Messages postés
- 111
- Date d'inscription
- samedi 5 novembre 2016
- Statut
- Membre
- Dernière intervention
- 23 février 2020
non, pas résolu.
Castours
bonjour
peux tu mettre ta base compressée en zip dans un lien de ci joint.com que tu copies dans un message de comment ca marche
peux tu mettre ta base compressée en zip dans un lien de ci joint.com que tu copies dans un message de comment ca marche
yg_be
- Messages postés
- 13964
- Date d'inscription
- lundi 9 juin 2008
- Statut
- Contributeur
- Dernière intervention
- 19 janvier 2021
bonjour, quelle commande as-tu utilisée dans la macro?
as-tu utilisé "imprimer"?
https://support.microsoft.com/fr-fr/office/imprimer-action-de-macro-44b8569c-926d-45d6-ba6b-beea5c801750?ui=fr-fr&rs=fr-fr&ad=fr
as-tu utilisé "imprimer"?
https://support.microsoft.com/fr-fr/office/imprimer-action-de-macro-44b8569c-926d-45d6-ba6b-beea5c801750?ui=fr-fr&rs=fr-fr&ad=fr