Hi all,
I have a report "List of Members For Printing Directory" having Record Source "List of Members Selective Membership Type Query" its SQL is:
SELECT [Members].[MembershipType], [Members].[MemberID], [Members].[GenderStatus], [Members].[Salutation_Detail], [Members].[SurName], [Members].[GivenName], [Members].[GivenName] & " " & [SurName] AS MemberName, Members.MembershipStartDate, tblCNIC.[CNIC Number], Members.DesignationSOC, tblJob.OrganizationDesignation, tblJob.Organization, tblAddress.[Postal Address], tblContactNumbers.TelephoneOffice, tblContactNumbers.TelephoneResidence, tblContactNumbers.FaxNo, tblContactNumbers.MobileNo1, tblContactNumbers.MobileNo2, tblContactNumbers.FaxNo, tblElectronicContacts.MemberEmail, Members.Working, tblAddress.MainCityName
FROM ((((Members INNER JOIN tblAddress ON Members.MemberID = tblAddress.MemberID) INNER JOIN tblCNIC ON Members.MemberID = tblCNIC.MemberID) INNER JOIN tblContactNumbers ON Members.MemberID = tblContactNumbers.MemberID) INNER JOIN tblElectronicContacts ON Members.MemberID = tblElectronicContacts.MemberID) INNER JOIN tblJob ON Members.MemberID = tblJob.MemberID
WHERE (((Members.MembershipType)=[Forms]![Dialog Members Directory Report]![cboMembershipType]) AND ((Members.Working)=True))
ORDER BY Members.GivenName, [Members].[GivenName] & " " & [SurName];
Posted by: khalidtanweerburrah@yahoo.com
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (1) |
Tidak ada komentar:
Posting Komentar