| | | 
Advanced 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.
|
| | | | 
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 |
| | | | 
Advanced 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? |
| | | | 
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. |
| |
|
|