Group: Forum Members
Posts: 785,
Visits: 3.6K
|
Have you tried moving the Save() method inside the Select/Case statement? I might try something like this:
Select Case EventEntriesRodeoBO1.eventCD
Case "BB"
ContestantsRodeoBO1.Edit()
ContestantsRodeoBO1.EventBB = EventEntriesRodeoBO1.eventCD
ContestantsRodeoBO1.Save()
Case "BR"
etc.
Couple of questions:
Is there a reason that you are checking to see if the Parent BO has moved to the first BO?
Is there only one child BO per parent? If all of the children (assuming one to many) need to be updated, then you may need to iterate them also.
Not sure if this would work...and, I am losing my VB skills. Sorry.
|