StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      


««12

Cant see childrenExpand / Collapse
Author
Message
Posted 06/10/2008 9:06:20 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 4:17:19 AM
Posts: 4,379, Visits: 4,420
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.
Post #16956
« Prev Topic | Next Topic »

««12

Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 6:28pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.063. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.