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 1 of 2 (13 items) 1 2 Next > Add attribute Hi there. I want to set a date picker to a date. I read I have to remove the nil attribute in order to do that. This works great, *but* the date picker is then set to can not be blank. How can I readd the attribute in case the user wants to remove the date? Thanks! Posted to Code (Forum) by delu on 02-23-2006 Data Connection Query I'm confused: I have a data connection: select distinct ''FullName'' from ''employee'' as ''FullName'' order by ''FullName'' When I run this data connection from managed code, everything works fine. But when I put a 'where' statement in it, the result will always be ''''. SELECT distinct FullName FROM bi_employee AS FullName WHERE ... Posted to Code (Forum) by delu on 02-22-2006 Re: Custom Queries for data connections It works fine :) Thanks a lot!! Posted to General (Forum) by delu on 02-21-2006 Custom Queries for data connections I made a data connection with a custom query, that looks like this: SELECT DISTINCT CASE isActive when 1 then 'yes' when 0 then 'no' else 'unknown' end AS isActive FROM [dbo].[Members] I bound this data connection to a list box and it works fine. I call this data connection from manage code: thisXDocument.DataObjects[secondary].Query(); and ... Posted to General (Forum) by delu on 02-20-2006 Re: UpdateList Thanks for your reply. I think the called web service was not the right one. So I finally ended up with creating my own web service with all methods that I need. However, they do not all behave very well. I made a new post at: http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1596 Posted to Web Services (Forum) by delu on 01-19-2006 Odd behavior Hi there! I created a web service with two methods: one for checking out a document and one for deleting a document. I tried both methods with a test Windows form application and they work fine. I published the form with full trust and a certificate, so the security should be fine. However, when I call them from managed code within the infopath ... Posted to Web Services (Forum) by delu on 01-19-2006 Changing Node Values How can I change the value of a text box within my document? When I do the following: IXMLDOMNode nNextAction = thisXDocument.DOM.selectSingleNode(''my:myFields/my:NextAction''); nNextAction.text = ''blah''; then the value does not stay changed when the document is stored/submitted. When I do: nNextAction.nodeValue = ''Review''; then I get ... Posted to Code (Forum) by delu on 01-17-2006 UpdateList Hi! I try to make some entries to a sharepoint list (it's a discussion board). I did the following: I created a data connection for submitting data I Choose Web Service and entered:http://server/_vti_bin/Lists.asmx?WSDL I chose UpdateList I selected a text box for ''list name'' and a textbox for ''new fields'' When I click a button that ... Posted to Web Services (Forum) by delu on 01-13-2006 Accessing Sharepoint Objects I have seen that many users want to do this, but I did not find any solution: Briefly, I have a sharepoint form library and I want do create a discussion thread when a users submits a new form. I use manage code for my infopath form and created a submit button. Now I wanted to do something like this: using Microsoft.SharePoint; [..] SPSite ... Posted to Code (Forum) by delu on 01-12-2006 Re: Cycling through a list box for sending emails Just before lunch, I finally managed how to do this :-) Posted to Code (Forum) by delu on 01-12-2006 Page 1 of 2 (13 items) 1 2 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.