Error Checking in VB code for NULL when looping through repeating table - InfoPath Dev
in

InfoPath Dev

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: Previous Next
  • 08-26-2013 08:02 AM

    Error Checking in VB code for NULL when looping through repeating table

     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

    Re: Error Checking in VB code for NULL when looping through repeating table

    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 Halstead
    Project Manager at Qdabra
  • 08-26-2013 12:06 PM In reply to

    Re: Error Checking in VB code for NULL when looping through repeating table

     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

    Re: Error Checking in VB code for NULL when looping through repeating table

    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 Halstead
    Project Manager at Qdabra
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.