Childformdialog and BOTranslations


Author
Message
Geoff Hirst
Geoff Hirst
StrataFrame User (221 reputation)StrataFrame User (221 reputation)StrataFrame User (221 reputation)StrataFrame User (221 reputation)StrataFrame User (221 reputation)StrataFrame User (221 reputation)StrataFrame User (221 reputation)StrataFrame User (221 reputation)StrataFrame User (221 reputation)
Group: Forum Members
Posts: 123, Visits: 3.5K
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.

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
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?

 


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