StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Can't add BindingField to textbox
Can't add BindingField to textbox
Post Reply
Like
0
1
2
Next
Jump To Page
Can't add BindingField to textbox
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Howard Bennett
Howard Bennett
posted 13 Years Ago
ANSWER
HOT
Topic Details
Share Topic
Group: Forum Members
Posts: 57,
Visits: 496
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
Reply
Like
0
Edhy Rijo
E
Edhy Rijo
posted 13 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Hi Howard,
Try rebuilding the project. If that does not work, close VS, then open it, rebuild and try again.
Edhy Rijo
Reply
Like
0
Howard Bennett
Howard Bennett
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 57,
Visits: 496
Did all that several times - still the same...
Reply
Like
0
Ivan George Borges
Ivan George Borges
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame MVPs
Posts: 1.9K,
Visits: 21K
From the Business Object Mapper, have you configured and built the Partial for this BO?
Reply
Like
0
Howard Bennett
Howard Bennett
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 57,
Visits: 496
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
Reply
Like
0
Peter Jones
Peter Jones
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 386,
Visits: 2.1K
I think that error could be generated if claimantBO1 doesn't contain data. Does it?
Cheers, Peter
Reply
Like
0
Howard Bennett
Howard Bennett
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 57,
Visits: 496
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...
Reply
Like
0
Ivan George Borges
Ivan George Borges
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame MVPs
Posts: 1.9K,
Visits: 21K
I think Peter meant fields, properties, that are generated once you build the partial for the BO from the Business Object Mapper.
Reply
Like
0
Howard Bennett
Howard Bennett
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 57,
Visits: 496
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
Reply
Like
0
Ivan George Borges
Ivan George Borges
posted 13 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame MVPs
Posts: 1.9K,
Visits: 21K
Just thinking of possibilities... have you got the same BO name in different projects on you solution?
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
1
2
Next
Jump To Page
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search