SELECT custnmbr AS CustID, custclas AS Class, ADRSCODE AS Unit,
Hold, Trim(Left([Custname], InStr([Custname], ",") -1)) AS LastName,
CUSTNAME AS TenantName, Address1, address2, city, state, zip
FROM RM00101
WHERE Inactive = 0 AND city <> " " AND CUSTCLAS = "Rental" AND Hold = 0
ORDER BY Unit, LastName;
John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
SQL Queries for Mere Mortals
(Paris, France)
On Mar 29, 2016, at 2:44 PM, dbalorenzini@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
__._,_.___
Posted by: John Viescas <johnv@msn.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (2) |
.
__,_._,___
Tidak ada komentar:
Posting Komentar