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



Childformdialog and BOTranslationsExpand / Collapse
Author
Message
Posted 04/01/2008 1:53:58 PM


StrataFrame Novice

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

Post #15304
Posted 04/01/2008 2:18:20 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: 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?

 

Post #15305
Posted 04/01/2008 3:15:33 PM


StrataFrame Developer

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.
Post #15306
« 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 8:15pm

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