So if I understand correctly : you have a parent-child-grandchild. The childform brings up the child ok on adding a record in the parent, but in the child the listview representing the grandchild won't bring up the grandchild (child of child ) single record dialog ?
First, you need a childformdialog on the child, with bo translation setup.
You need to have the listview on the child setup with the addobject and editobject properties pointing to the buttons.
And you need to be sure you are doing something to fill the grandchild with records - either by querying against the child pk ( IOW its parent ) or by using the autofilter.
One other gotcha - especially if you are passing all the data along from the parent - i.e. you pulled parent-child-grandchild data in the parent form, set autofiltering and are passing the data long with the BO translations :
You need to override the OnLoad of the child ( middle ) form to reset the business object of the listview representing grandchild records :
' this is in the ContactForm - the "child" - i.e the middle form between parent and grandchild
Protected Overrides Sub OnLoad(ByVal e As System.EventArgs)
MyBase.OnLoad(e)
'-- This may be needed to rehook translated BOs
'-- ContactResults (the grandchild) was first loaded in the Customer form (the parent)
'-- Without this override the lvContactResults will not be pointed at the translated BO
lvContactResults.BusinessObject = Me.ContactResultsBO1
'-- If we were using a BBS for a datagridview, for example we'd rehook that
'-- Rebind my BBS to the BO
' MyBBS.BusinessObject = MyChildBO;
End Sub
In this case we loaded all the data in Customersform, set the autofilter and then passed all the BOs in the childform dialog using translation.
In the childform dialog on this - the Contacts (child) form - we are passing the ContactsBO1 and the ContactResultsBO1 on to ContactResultsForm
HTH