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



Me.ListView1.Requery()Expand / Collapse
Author
Message
Posted 08/25/2006 2:12:57 PM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 9:57:58 PM
Posts: 658, Visits: 27,148
Where does this go again to automatically repopulate a SF Listbox that uses a Fill method I wrote.

Listview populates from ordersBO, which fills based on the parent BO's primekey. Standard stuff....

Right now it is all working but I have my requery in a buton on the form and connot for thw life of me figure where it goes.

Thanks.

Post #2483
Posted 08/25/2006 2:34:53 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 12/02/2008 4:42:46 PM
Posts: 2,686, Visits: 1,890
You can call the Requery() method wherever you need to.  If you need to pass parameters to the Requery() method, you can do it in the Requery() method itself, or you can set the parameters in the ListView.ListPopulating event.


www.bungie.net
Post #2484
Posted 08/25/2006 2:39:57 PM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 9:57:58 PM
Posts: 658, Visits: 27,148
I asked the question poorly. What method should I put any code that I want to execute when the record pointer has changed on a BO?
Post #2485
Posted 08/25/2006 3:13:43 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 7:08:30 PM
Posts: 4,811, Visits: 4,781
Generally the Navigated event is the best place to add this code.
Post #2486
« Prev Topic | Next Topic »


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 4:15am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 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.