Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 2 of 4 (39 items) < Previous 1 2 3 4 Next > Re: Populate a Drop-Down list box through code Did you resolve this yet? I think you could use a secondary data source, bind the drop-down to that, and then populate the secondary data source programatically with the data from the ADO.NET connection. Posted to Controls (Forum) by anotherchrisberry on 12-07-2007 Re: Launching Infopath Form From Quicklaunch nav Try appending "&openin=browser" to the URL of the form. Posted to General (Forum) by anotherchrisberry on 12-07-2007 Re: Accessing the fields of a repeating table through code I'd guess the problem is that your xpath selects the attribute field. If dfs:Risk_Actions is your repeating field, don't include "/@Situation" in your xpath; otherwise, the returned node set will contain the Situation attribute of the first node. Posted to Code (Forum) by anotherchrisberry on 11-30-2007 Re: Faxing - the holy grail. You don't have to set your default printer to PDF - you can just set it so the form itself prints to PDF by default. If you go into View Properties from the Views task pane and click on "Page Setup", you'll see the Printer name option. Posted to General (Forum) by anotherchrisberry on 11-30-2007 Re: Avoid saving a form in SharePoint with same name So many ways to do this with JS, but the easiest is to use the Application.IsDestinationReachable method to programatically see if the file already exists in SharePoint. Try this code: myFileNameField = XDocument.DOM.selectSingleNode("//fileNameField").text; myURL = ... Posted to General (Forum) by anotherchrisberry on 11-30-2007 Re: XPath: Count distinct values in repeating table you can use a simple xpath like this: count(row[not(preceding::row = .)]) that will give you the count of distinct values. Posted to General (Forum) by anotherchrisberry on 11-30-2007 Re: Automatic Insert Section It's definitely possible, and there are a couple of ways of doing this. You can declare the minOccurs attribute of the element in the schema to "3" with a maxOccurs value of "unbounded". Or, if you're so inclined, you can create a loading event within the form's managed code to clone the section and insert it ... Posted to Browser Forms (Forum) by anotherchrisberry on 11-30-2007 Re: Conditional formatting of a list to see only the last item [quote user="nukkumatti"]something like if position() != count(number(position)) than hide could also work.[/quote] or position() != last(), if you're into the whole brevity thing. Posted to Browser Forms (Forum) by anotherchrisberry on 11-29-2007 Re: Rich Text Editor for other browsers? No, I didn't find any workarounds (or answers). It's a little embarrassing making users write in bbcode, what with it being the year 2007 and all. Thanks for the memory leak posting... Posted to Browser Forms (Forum) by anotherchrisberry on 11-29-2007 Rich Text Editor for other browsers? Do browser-enabled forms really only allow rich text editing via IE? Has anyone found a workaround? Further, does anyone know why in the world Microsoft chose to implement this "feature" this way? Posted to Browser Forms (Forum) by anotherchrisberry on 10-31-2007 Page 2 of 4 (39 items) < Previous 1 2 3 4 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.