Dark0Prince
Active Member
- Joined
- Feb 17, 2016
- Messages
- 433
Code:
Select
MLB8.PROG_REPORT_ACCT_NUM_AND_PRACCT,
DCGI.Date_Listed,
DB.INITIAL_BALANCE,
DS.Last_Payment,
LV.Amt_Paid_On_Acct,
DB.Principal_Balance,
MLB7.INVENT_INVEN2
From
Clnt_General CG
Inner Join
Dbtr_Clnt_Generl_Inf DCGI on CG.Client_Num1=DCGI.Client
Inner Join
Dbtr_Status DS on DCGI.Account_Num1=DS.Account_Num1
Inner Join
Dbtr_Balances DB on DCGI.Account_Num1=DB.Account_Num1
Inner Join
Debtor_Master_Logic_Blocks7 MLB7 on DCGI.Account_Num1=MLB7.Account_Num1
Inner Join
Debtor_Master_Logic_Blocks8 MLB8 on DCGI.Account_Num1=MLB8.Account_Num1
Inner Join
Letter_Variables LV on DCGI.Account_Num1=LV.Account_Num1
Where
CG.Client_Num1=?
And
DCGI.Date_Listed>?
This is my current code and I'm trying to add a where filter that says: when 4 5 6 7 10 15 20 21 25 35 36 37 40 45 46 57 58 65 75 86 87 91 92 99 numbers are not contained in DS.Cancel_Reason