Cant see children


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
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:

  1. You have code somewhere in a constructor of a class (New) or a Load event and it is getting executed at design-time
  2. 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.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search