Display Seleted Related Record in FID

I have a simple process that has got me stumped

I have 3 forms

InventoryProfile (Record), TPWorkOrders (Listing), FlexWorkOrder (Record)

I have a button on my TPWorkOrders that will display the FlexWorkOrder in a FID.

This works fine and displays the correct record.

On my InventoryProfile I display the TPWorkOrders form as a related tab panel. This displays all the related work orders to the Inventory Item.

When I select the button to diplay the selected work order in a FID, I do not get the correct work order.

After I perform this scenario, If I open the WorkOrders from my menu there is only one record present (the incorrect one that was previously displayed). If I show all records in the listing, all the records are listed and the one that should have been diplayed is highlighted.

I can’t figure out why the mehod works on the listing, but not when the listing is displayes as a related tab on another form.

Thanks for any help on this,

Erich

Perform a find for the correct work order (on the form that will show in the dialog) before showing it in the FID.

Thanks Bob, thats what I ended up doing, It just seemed like it should work through the portal tab panel as is does from the form with the portal on it.

Thanks for the help