I needed the ability to share this logic with other programs so I moved my logic to the parent business object class and pass the child business object ByRef. When I execute the code, I get an error creating a new row on the child BO. (System.IndexOutOfRangeException). Index 0 is either negative or above rows count.
It seems to execute the NewRow fine and it actually sets the Fk value correctly on the child record but as soon as I try to assign something to any other field it errors out.
Any Idea's??
Thanks
Tim