Since @INHERIT will get the first ancestor with the TV set, you could also set the values in the ultimate parent, use @INHERIT for all TV values below that, and just do this:
<p>[[*tv.ra_adres]] [[*tv.ra_huisnummer]]<br/>
[[*tv.ra_postcode]] [[*tv.ra_woonplaats]]<br/>
[[*tv.ra_telefoon]]<br/>
</p>
I think Susan's method would be faster, though.
The fastest way I can think of would be to write a plugin that saves the whole formatted string of personal information to a single TV, a chunk, or (fastest of all) the introtext or description fields whenever you save a child resource.
Something like this:
/* Get the ultimate parent object */
$upId = (int) $modx->runSnippet('UltimateParent', array('id'=>$resource->get('id'), 'topLevel' => '4'));
$upObj = $modx->getObject('modResource', $upId);
/* Save the string to the 'description'
field of the current resource */
if ($upObj) {
$output = '<p>' . $upObj->getTVValue('tv.ra_adres') . ' ' . $upObj->getTVValue('tv.ra_hiusnummer') .
'<br/>' . $upObj->getTVValue('tv.ra_postcode') . ' ' . $upObj->getTVValue('tv.ra_woonplaats') . '
<br/>' . $upObj->getTVValue('tv.ra_telefoon');
$resource->set('description', $output;)
$resource->save();
}
return '';
Now you can display your information on any page in a flash by just putting this where you want the info:
Best of all, it will be cached with the page, so it should take no time at all once the cached page exists.