I tried that first. I used Infopath to add the emailaddress table and linked
the two with the emailaddressid, and to sort on name.
However, I get no sort whatsoever, it displays as they were entered, when I
need to sort on the the Email address associated with the emailaddressid.
I tried several variations on this code, which gives me no sort at all on
Email:
shape
{select "GroupCode","EmailAddressID","DelBit" from "dbo"."NotifyMembers" as
"NotifyMembers" order by "EmailAddressID"} as "NotifyMembers"
append
({select
"EmailAddressID","FacilityID","FacilityCode","LocationID","VendorRefId","Name","Email","Outdated","DelBit"
from "dbo"."EmailAddress" as "EmailAddress" order by "Email"}
relate "EmailAddressID" TO "EmailAddressID","DelBit" TO
"DelBit","EmailAddressID" TO "EmailAddressID") as "EmailAddress"
S.Y.M. Wong-A-Ton - 23 Nov 2006 09:14 GMT
This might sound like a dump question, but I just wanted to make sure: Do you
have primary keys defined on the tables?
---
S.Y.M. Wong-A-Ton
> I tried that first. I used Infopath to add the emailaddress table and linked
> the two with the emailaddressid, and to sort on name.
[quoted text clipped - 12 lines]
> relate "EmailAddressID" TO "EmailAddressID","DelBit" TO
> "DelBit","EmailAddressID" TO "EmailAddressID") as "EmailAddress"
RickH - 23 Nov 2006 16:57 GMT
Yes primary keys are there.
I wonder if this is a bug?
> This might sound like a dump question, but I just wanted to make sure: Do you
> have primary keys defined on the tables?
> ---
> S.Y.M. Wong-A-Ton