Carlos Marques
New member
- Local time
- Today, 07:09
- Joined
- Apr 16, 2007
- Messages
- 2
People,
I have one report in an Access DB that nowadays is only used for printing.
Instead of it, I want to save this as Word file document.
Is there anything that I can do that only generate the .doc or the procedure is much different?
The code that I use for printing is:
Tks all,
Carlos
I have one report in an Access DB that nowadays is only used for printing.
Instead of it, I want to save this as Word file document.
Is there anything that I can do that only generate the .doc or the procedure is much different?
The code that I use for printing is:
Code:
Private Sub Print_Rep_Buttom_Click()
DoCmd.OpenForm ("Aviso de Impressao")
DoCmd.SetWarnings False
DoCmd.OpenQuery "Atualiza PL", acNormal, acEdit
DoCmd.OpenQuery "Atualiza Flag de PL7F na tabela Main", acNormal, acEdit
DoCmd.OpenReport "SNP", acNormal, "", ""
DoCmd.Close acReport, "SNP"
DoCmd.Close acForm, "Main"
DoCmd.SetWarnings True
End Sub
Tks all,
Carlos