Tim,
To make your scenario work, you need to configure Submit for your form
(Tools | Submitting Forms) to perform a custom submit action via code.
You need to write custom code to perform submit to the database data
adapter (use the Submit() method), and then print as PDF/MDI (use the
PrintOut() method or write/use an ActiveX control).
Good luck,
Alex @ Microsoft
-----Original Message-----
From: Tlear [mailto:Tlear@discussions.microsoft.com]
Posted At: Tuesday, May 10, 2005 1:18 PM
Posted To: microsoft.public.infopath
Conversation: Print a Form When its submitted to database
Subject: Print a Form When its submitted to database
I have a help desk form
When its submitted to the database.
I would like my form to be printed as PDF or MDI
and saved on my network drive.
The printer and save Location would be in the code
no user action required.
Tim Lear