StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Cant see children
Cant see children
Post Reply
Like
0
Prev
1
2
Jump To Page
Cant see children
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Trent Taylor
Trent Taylor
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
When you get an error, posting the stack trace is very helpful. But in this case, it sounds like you are trying to query in one of two circumstances:
You have code somewhere in a constructor of a class (New) or a Load event and it is getting executed at design-time
Or more likely, you are relying on the parent BO to populate the child. However, there are no records in the parent record, so you get an index out of range exception. Test on the Count property of the BO before calling the Requery of the child so that the error will not occur.
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
Prev
1
2
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