Hi all, i have written a function that calls an existing form and jumps to a new record. Any idea how i tell it that it is an mdichild of frmMain.

Cheers

Code:
Public Function addnewNS()
        
        'open the form and add a new record
        Dim frmNS As New frmNS
        frmNS.Show()
        frmNS.BindingContext(frmNS.objdsCDets_SDets, "CDets").AddNew()

    End Function