Note: This code is written and intended for use in Microsoft Access and will not work in the SQL Server Query Analyzer.
dbo_RECORDS.FIRST_NAME, dbo_RECORDS.LAST_NAME, dbo_ADDRESS.ADDRESS_BLOCK, dbo_ADDRESS.CITY, dbo_ADDRESS.STATE, dbo_ADDRESS.POST_CODE, dbo_RECORDS.KEY_INDICATOR, dbo_CONSTIT_ADDRESS.PREFERRED
(dbo_CONSTIT_ADDRESS INNER JOIN dbo_RECORDS ON dbo_CONSTIT_ADDRESS.CONSTIT_ID = dbo_RECORDS.ID) INNER JOIN dbo_ADDRESS ON dbo_CONSTIT_ADDRESS.ADDRESS_ID = dbo_ADDRESS.ID
(((dbo_RECORDS.KEY_INDICATOR)="I") AND ((dbo_CONSTIT_ADDRESS.PREFERRED)=-1))
Disclaimer: We provide programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes you are familiar with Structured Query Language and the tools used to create and modify SQL statements and Crystal Reports. Our Customer Support may help explain the functionality of a particular procedure, but we will not modify, or assist you with modifying, these examples to provide additional functionality.