By Howard Bennett - 2/1/2011
I've got my claimantBO1 setup and added to my form... Adding a textbox - it does show the clamiantBO1 as the BindingSource - however, when I select the BindingField dropdown, I get this error - "Index was outside the bounds of the array."
Any ideas on how to correct this?
HB
|
By Edhy Rijo - 2/1/2011
Hi Howard,
Try rebuilding the project. If that does not work, close VS, then open it, rebuild and try again.
|
By Howard Bennett - 2/1/2011
Did all that several times - still the same...
|
By Ivan George Borges - 2/1/2011
From the Business Object Mapper, have you configured and built the Partial for this BO?
|
By Howard Bennett - 2/1/2011
Yes - did that... I've tried several things - just not sure if I need to continue trying things - or - give up and start a new project. I'm fairly early in the process - so not a huge deal to restart. Just don't want to get further down the road and have this happen again without knowing how to troubleshoot it.
I've also removed the BO from the form and added it back. I've removed all bound controls and am trying to add those back - but still have the issue.
HB
|
By Peter Jones - 2/1/2011
I think that error could be generated if claimantBO1 doesn't contain data. Does it?
Cheers, Peter
|
By Howard Bennett - 2/1/2011
Should it contain data at design time?
I don't think it does - there is data in the actual tables and when the form is run, it retrieves the top 100 records - so there is data at run time...
|
By Ivan George Borges - 2/1/2011
I think Peter meant fields, properties, that are generated once you build the partial for the BO from the Business Object Mapper.
|
By Howard Bennett - 2/1/2011
Oh - sorry Peter!
The BO has 54 fields - looks like it's setup correctly to me...
Seems like I've probably just done something to cause this (since no one else seems to have had this happen before.)
So, I'll just start a new project and see if I can continue.
Thanks (everyone) for your help!
HB
|
By Ivan George Borges - 2/1/2011
Just thinking of possibilities... have you got the same BO name in different projects on you solution?
|
By Howard Bennett - 2/1/2011
No - just the one solution in this project.
I've just uninstalled StrataFrame - restarted - re-installed StrataFrame - restarted and now am trying to setup a new project. When I go to the BO Mapper, I don't get the option to configure the business object. It's not enabled...
So, I'm pretty sure I've messed this up - but thought the reinstall would help.
Any ideas?
|
By Howard Bennett - 2/1/2011
Ok - things are better now...not sure what happened but am able to start over and seem to be doing well now.
HB
|
By Ivan George Borges - 2/1/2011
Glad you got it going.
|
By Howard Bennett - 2/2/2011
Thanks! And thanks for your help!
|