I don't think that's possible. You may need to link the databases and perform the join on the database. With SQL 2008, you can create CLR-based aggregate functions:<div><br></div><div><a href="http://msdn.microsoft.com/en-us/library/ms182741.aspx">http://msdn.microsoft.com/en-us/library/ms182741.aspx</a></div>
<div><br></div><div><a href="http://msdn.microsoft.com/en-us/library/ms182741.aspx"></a>Jason<br><br><div class="gmail_quote">On 15 July 2010 02:13, <span dir="ltr">bishmanly</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi I have a layer based on a database table with a one-to-many join to<br>
another database table (1 'X' to many 'Y').<br>
<br>
Both tables are in SQL Server 2008 and I am using MGOS 2.0.<br>
<br>
I can create an expression for a label showing properties from 'X' and<br>
one random record from 'Y'.<br>
<br>
How can I create an expression for a label to show properties from all<br>
the records from 'Y'?</blockquote></div></div>