Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2007

Tip: Looking for answers? Try searching our database.

Submit Form Using Code...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jason Richmeier - 12 Apr 2007 22:14 GMT
How can I submit a form using managed code?

If I generate an event handler for the Submit event, a comment that states
"If the submit operation is successful, set e.CancelableArgs.Cancel = false;"
is generated inside the handler.

How do I know whether the submit operation is successful?

Does anyone have any code samples to submit the form?

Thank you in advance,

Jason Richmeier
Karthik - 16 Apr 2007 14:02 GMT
Hi Jason,

What exactly you mean by submitting is successful? According to me submit is
successful whenever the form is exactly doing what you wished for. So here
success is abstract. Since you are using using the submit event, you can
incorporate your logic in the event and if the steps are exactly followed in
the event, then it means that submission is successful.

Thanks & regards,
Karthik
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.