The child form does not have the calling form as the Parent is correct. However, you can reference the calling form from the Object reference that was passed to it.
lnDatasession = THISFORM.oObjectReference.DatasessionID
However, if the child form is a Private Datasession, you will have a problem.