| | | 
StrataFrame Novice
       
Group: StrataFrame Users Last Login: Today @ 9:38:42 AM Posts: 53, Visits: 631 |
| | Evening Chaps, If I have a CFD, with a WIDGET business object that is then translated from ParentX to ChildY, when the WIDGET is used on ChildY, should I expect to have the currentrowindex in the same place on the child as it was on the parent? If it should, It's not and I could do with any ideas as to what I might be doing wrong. If it shouldn't then great, it's working like it should and my workarounds can stay where they are. thanks Geoff. |
| | | | 
Advanced StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 4:31:20 PM Posts: 599, Visits: 10,715 |
| | Afternoon Geoff. Are you going to the Child from choosing a row in a ListView in the Parent? have you made sure you are in the row you would like to? Something like: Me .WIDGETBO.SeekToPrimaryKey(Me.MyListView.SelectedItems(0).Tag)And then, calling your ChildForm? |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 2:43:51 PM Posts: 4,241, Visits: 4,285 |
| | I am a little confused as to what you are trying to do. But Ivan's example will always work. The only time that you can expect the row to be automatically navigated or on the correct record is if you are using the ChildFormDialog control to translate BO1 to BO2, are using the AutoChildFilterOption (which would just navigate to the first item), or are using a MaintenanceFormToolstrip and using the IncludeInForm options to navigate the BO. One other option would be if you are using a grid and have selected the row. Past that, you will have to navigate or move the row index yourself. |
| |
|
|