Assuming that the "Age Band" table is in SQL Server,
you could replace the table with a Named Query in the Data Source View,
like:
Quote:
|
select ab1.ID, ab1.Description,
|
(select min(ID)
from [Age Band] ab2
where ab2.Description
= ab1.Description) as BandID
from [Age Band] ab1
Then define BandID as the key for the Description attribute, and it can
be ordered by key.
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***