Error Checking in VB code for NULL when looping through repeating table - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) 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 InfoPath Dev » InfoPath » Code » Error Checking in VB code for NULL when looping through repeating table Error Checking in VB code for NULL when looping through repeating table Last post 09-01-2013 03:45 PM by Patrick Halstead. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 08-26-2013 08:02 AM pfiggatt Joined on 03-14-2012 Posts 10 Error Checking in VB code for NULL when looping through repeating table Reply Contact Any suggestions for checking for Null when looping through a repeating table? I'm submitting integer columns to SQL that allows for null. 08-26-2013 11:36 AM In reply to Patrick Halstead Joined on 08-08-2006 Posts 5,112 Re: Error Checking in VB code for NULL when looping through repeating table Mark as Not AnswerMark as Answer... Reply Contact No need for code if you have a trigger column you can set that to some value. It will fire a rule on all rows. You can then use the rule to add a condition to check for null and set a value based on it. Patrick HalsteadProject Manager at Qdabra 08-26-2013 12:06 PM In reply to pfiggatt Joined on 03-14-2012 Posts 10 Re: Error Checking in VB code for NULL when looping through repeating table Mark as Not AnswerMark as Answer... Reply Contact True. However in my case NULL needs to be passed to the stored procedure if that column in the row of the repeating table has not been filled in. I'm trying to figure out the code equivalent for checking for NULL. 09-01-2013 03:45 PM In reply to Patrick Halstead Joined on 08-08-2006 Posts 5,112 Re: Error Checking in VB code for NULL when looping through repeating table Mark as Not AnswerMark as Answer... Reply Contact Well, you could add a trigger column and set it to (trigger != false) and then have a rule fire on each value and call your code behind. Patrick HalsteadProject Manager at Qdabra Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Any suggestions for checking for Null when looping through a repeating table? I'm submitting integer columns to SQL that allows for null.
No need for code if you have a trigger column you can set that to some value. It will fire a rule on all rows. You can then use the rule to add a condition to check for null and set a value based on it.
True. However in my case NULL needs to be passed to the stored procedure if that column in the row of the repeating table has not been filled in. I'm trying to figure out the code equivalent for checking for NULL.
Well, you could add a trigger column and set it to (trigger != false) and then have a rule fire on each value and call your code behind.