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 3 (21 items) 1 2 3 Next > Re: Can you shade a field using code? OK - I've read a bit more on the subject, and it seems that it's not possible in InfoPath :( Looks like it'll be the hard way... Posted to Code (Forum) by JoanneWellings on 06-22-2011 Can you shade a field using code? Hi all - I'm trying to code some conditional formatting. To do it without code means updating 43 fields with more CF rules, which could then change in the future. I was hoping to use some select case code to do the job. I can't find the code to set a field's shading. Is it possible? TIA Posted to Code (Forum) by JoanneWellings on 06-22-2011 Re: Why doesn't this SetValue work? Thank you! So simple too. I gave the Q_Weighting fields a default value of 0 and now it works correctly. Hope this helps someone else! Posted to Code (Forum) by JoanneWellings on 06-17-2011 Re: Why doesn't this SetValue work? Thanks for the reply The only other info I have is: System.InvalidOperationException Schema validation found non-data type errors. at Microsoft.MsoOffice.InfoPath.MsxmlInterop.MsxmlDocument.ThrowExceptionFromMsxmlInteropError(MsxmlInteropError eError) at ... Posted to Code (Forum) by JoanneWellings on 06-15-2011 Why doesn't this SetValue work? Hi all - This should be a really simple bit of code, but I can't understand why it's not working. All I want to do is retrieve a value from one field and set another's fields value depending on the first. Here is the code: Public Sub Q_Select_1_Changed(ByVal sender As Object, ByVal e As XmlEventArgs) ... Posted to Code (Forum) by JoanneWellings on 06-15-2011 Re: InvalidOperationException when using Writer for Repeating Table Solved it! I had to create another sub folder to put my repeating table in. Instead of "//my:myFields/my:Control_Measures", I changed it to "//my:myFields/my:CM_Repeat/my:Control_Measures" This is strange, because for the first list I got working, I didn't need to do that. As soon as I implemented the above for ... Posted to General (Forum) by JoanneWellings on 05-26-2011 InvalidOperationException when using Writer for Repeating Table Hello - I am adding rows to a repeating table and filling it with data from a SharePoint list. I have this working correctly with one table on my form, but I'm getting an error when I repeat the procedure for another table. I am getting an "InvalidOperationException" on Writer.close() My code is: Public Sub ... Posted to General (Forum) by JoanneWellings on 05-26-2011 Re: Submit Repeating Table to Sharepoint List It's working! Thank you! I removed the code altogether, that seems to have been the problem. I've gone back to an eaerlier, cleaner version of the form before I started messing around with this and just took the code out. Thank you both so much for your help. It's really appreciated. Hopefully I won't have to come ... Posted to SharePoint Integration (Forum) by JoanneWellings on 10-01-2010 Re: Submit Repeating Table to Sharepoint List That code was from when I was trying to do this myself. The procedure shouldn't be called by anything at the moment unless you click the Submit button on another form, which I wasn't using. Would that still affect anything? Posted to SharePoint Integration (Forum) by JoanneWellings on 09-30-2010 Re: Submit Repeating Table to Sharepoint List Hi - Thanks again for getting back to me. I've attached the template and below is the xml that was generated by qRules. The view is called 7 - Employee Relations. I have added a section at the bottom to see if any errors were being returned. I'll go through the example walkthrough again when I get a chance, but at least ... Posted to SharePoint Integration (Forum) by JoanneWellings on 09-30-2010 Page 1 of 3 (21 items) 1 2 3 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.