<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Chris,<br>
<br>
A hierarchical taxonomy vocab might be a different way to solve your
issue.&nbsp; Consider using tags and the relationships between them instead
of a CCK field.&nbsp; Then, in Views you can define relationships based on
parent terms (among other things that Views will do w/ taxonomy out of
the box).&nbsp; Some of the posts in <a
 href="http://groups.drupal.org/taxonomy">http://groups.drupal.org/taxonomy</a>
may be relevant.<br>
<br>
Seth<br>
<br>
Chris Pall wrote:
<blockquote
 cite="mid:2b82ca390909040658w4600987cx5207684cb3e37ac2@mail.gmail.com"
 type="cite">I've got a CCK content type which can refer to itself to
note a "parent". In a view, I want to group by the parent. I'm not
going all out in displaying a tree hierarchy, though I suppose that
would be fine if that were supported by some module. The problem I am
having is that when I employ a relationship to show the title and
group, it is somehow racing to the top of the "tree" and grouping by
the "root" parent. Is it possible limit to the immediate parent?<br>
  <br>
I've seen a couple of relationship modules, trees modules, but is there
anything that really seems to address doing what I've got in the data
structure I've established? <br>
  <br>
For example:<br>
  <br>
Data is:<br>
"Title" -&gt; "Parent", "Body"<br>
1. North America -&gt; (no parent) - This is a continent.<br>
2. United States -&gt; North America - This is a country in North
America<br>
3. Michigan -&gt; United States - This is state in the US.<br>
4. Washington -&gt; United States - This is different state in the US.<br>
5. Dearborn -&gt; Michigan - this is a city in the US.<br>
6. Lansing -&gt; Michigan - this is another city in the US.<br>
7. Kalamazoo -&gt; Michigan - this is yet another city in the US.<br>
  <br>
My view grouped by the "Parent" (with a relationship), and what I get
is:<br>
------<br>
  <b>Group Name: <i>(empty)</i></b><br>
North America - This is a continent<br>
  <br>
  <b>Group Name: North America<br>
  </b>United States - This is a country in North America<br>
Michigan - This is state in the US.<br>
Washington&nbsp; - This is different state in the US.<br>
Dearborn - this is a city in the US.<br>
Lansing - this is another city in the US.<br>
Kalamazoo - this is yet another city in the US.<br>
-----<br>
  <br>
  <br>
  <br>
  <i><b>What I'm hoping for is:</b></i><br>
---<br>
  <b>Group Name: <i>(empty)</i></b><br>
North America - This is a continent<br>
  <br>
  <b>Group Name: North America</b><br>
United States - This is a country in North America<br>
  <br>
  <b>Group Name: United States</b><br>
Michigan - This is state in the US.<br>
Washington&nbsp; - This is different state in the US.<br>
  <br>
  <b>Group Name: Michigan</b><br>
Dearborn - this is a city in the US.<br>
Lansing - this is another city in the US.<br>
Kalamazoo - this is yet another city in the US.<br>
  <br>
  <br clear="all">
-- cgp<br>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
--
[ Drupal support list | <a class="moz-txt-link-freetext" href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]</pre>
</blockquote>
</body>
</html>