>OK Thanks guys. I guess I'll put this on the shelf for a little while longer.
Someone else mentioned that the relations are established automatically in the DataEnvironment, based on the persistent relations. This is true (I had forgotten), but the relation is set from the parent table to the child table, whereas I usually need it in the opposite direction.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)