Create a computed for display field named QUERY_STRING on your form with the formula "". You can then access any fields from the parent using this in a second, computed field:
parent := @Word(@Right(@Uppercase(QUERY_STRING);"&ParentUNID=");"&";1); valueNow := @GetDocField(parent; "Field1");