-
I'm assuming that the same underlying issue will be present in IP 2003 with script - that we just aren't allowed to close the application while it is loading.
-
I don't get any errors. I'd prefer the loading event that way it will close the form if it loads with an invalid database. I'm also using IP2003 with vbs if that matters. If I can't do it in the load event, I'll just have to live with it.
-
Oh. In the Loading event. Well, I tried it in a loading event (IP 2010, Filler, C#) and had an error:
System.Runtime.InteropServices.COMException
Invalid context for OM call.
I'm assuming you've had errors as well?
So - the error means that we can't use this method in the loading event. I'm not super surprised by that. Perhaps ...
-
I really really hope you are using IP 2010 & ShP 2010? Are you? If so, you can just add a data connection to the list, but don't automatically query on load. Then you can set the query field to the value you want to search for and run the query in form rules.
-
Hi - are you setting the status flag prior to submitting to the document library? After submitting, save the XML from SharePoint and take a look at the field's value in a text editor - is it what you expect? Then you can compare that to your conditional formatting, make sure the values are exactly the same....
-
No I am not prompted. I have tried that code as well. All the ones I've tried are:
Application.ActiveWindow.Close(true)
Application.ActiveWindow.Close(True)
Application.ActiveWindow.Close()
Application.ActiveWindow.Close() = true
Application.ActiveWindow.Close() = True
I'm really lost at this point because everything ...
-
Can someone assist me in figuring out what type of data
connection I need.
In a SharePoint list I have about 10,000 stock tickers in
one column and there full name in another. I want to query the list by ticker to pull
back one fund name in a Browser enabled Infopath Form. Example;
Search: ...
-
Good day all,
I have been trying to manage disabling a submit button after the button has been clicked. Within the option options of the button I have enabled a few rules (i.e. set status flag, submit to document library, and close form). Additionally, I set a conditional format to disable the button if the status flag was set.
The ...
-
There is no relationship between those two. But i wonder is this bug with infopath software?
-
Are you being prompted to save changes? Try with the force param:
Application.ActiveWindow.Close(true)