Thanks for the clue. It looks like the navigated event on the form was getting called first thing, and it was using a pk field form the primary business object (which is empty) to fill another BO. I added a check to make sure that the cuurrent row index was > 0 before loading the other BO's and it all works fine now.
Regards,
Doug
When I run a SF maintenance form that uses a BO that references an empty table, I get the following exception.
The CurrentRow could not be evaluated because the CurrentRowIndex is out of range. Business object record count: 0. CurrentRowIndex: -1.
If I manually add a row to the table, then the app works fine. Is there some way to check the CurrentRowIndex within the BO to keep the application from choking? The table that this SF form maintains will always be empty to start with.
Thanks!