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 / May 2006

Tip: Looking for answers? Try searching our database.

Submit to a SharePoint forms library

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hasse - 11 May 2006 14:11 GMT
Hi,

I'm trying to figure out how to do a submit to a SharePoint forms library
with VB Script.
I have a submit button in my form and custom code.
If I could make the code execute before the rules it wouldn't be a problem
but I can not figure out how to do that so I guess I have to do the submit in
my custom code.
Can anyone give me a hint on how to do this?

Regards,
Hans
Adam Harding - 11 May 2006 14:27 GMT
Hasse

To make the code run before the rules make the last statement in the custom
code to say set THIS FIELD value to ON then speicify ALL of your rules to be
conditional on THIS FIELD equalling ON, that way ALL of your rules run after
the code.

Cheers Adam

> Hi,
>
[quoted text clipped - 8 lines]
> Regards,
> Hans
Hasse - 11 May 2006 15:56 GMT
Thanks Adam for your tip.
The Rule is testing if THISFIELD is ON and if it is not it executes my code
but how is the Rule beeing tested again?

Regards,
Hasse


> Hasse
>
[quoted text clipped - 17 lines]
> > Regards,
> > Hans
Adam Harding - 11 May 2006 16:34 GMT
Hasse

It is tested by the conditions on which the rules depend so you may say

If TEST is not blank AND THISFIELD is equal to ON then do THIS.

That is how.  Does this make sense?

> Thanks Adam for your tip.
> The Rule is testing if THISFIELD is ON and if it is not it executes my code
[quoted text clipped - 25 lines]
> > > Regards,
> > > Hans
Hasse - 12 May 2006 08:05 GMT
Good morning Adam,

I'm sorry but I don't understand.
I thought I did after your first answer but now I'm lost again.

Regards,
Hasse

> Hasse
>
[quoted text clipped - 33 lines]
> > > > Regards,
> > > > Hans
 
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.