SELECT Profitable.CHSAcctNo, Profitable.GrossRevenue, Profitable.FarmSupplyRev, Profitable.GrainRev, Profitable.Expenses, Profitable.OtherIncome, Profitable.OtherExp, Profitable.CHSAcctNo AS CountOfCHSAcctNo, Profitable.City, Profitable.State, Profitable.[MS/CO], Profitable.[Grain/FS], Profitable.FYE, Profitable.MemberEquity, Profitable.WorkingCapital, Profitable.LocalSavings, Profitable.TotalSavings, Profitable.TDtoLE, Profitable.ROLE, Profitable.BSMId, Profitable.[Acct name], Profitable.TopAccount, Profitable.NetLS, Profitable.TTLSales, Profitable.TotalAssets, Profitable.CurrentAssets, Profitable.FixedAssets, Profitable.InvOtherOrgan, Profitable.OtherAssets, Profitable.CurrentLiabilities, Profitable.LongTermDebt, Profitable.ServiceRev, Profitable.[Income/LossfromLLC], Profitable.[-/+SaleAssetorInv], Profitable.Patronage, Profitable.IncomeTaxes, Profitable.Sales, Profitable.Year, Profitable.RetainedSavings, Profitable.GrainBushels, Profitable.[Salary/BenefitExp], Profitable.Depreciation, Profitable.CCMAmoritization, Profitable.EBITDA, Profitable.InterestExp, Nz([memberequity],0)-Nz([invotherorgan],0) AS LocalEquity, [Forms]![frmState]![txtQueryCriteria] AS Expr1, Profitable.OtherLTL, Profitable.EBITDARevised, Profitable.EBITRevised, Profitable.NetAssets
FROM Profitable
WHERE (((Profitable.CHSAcctNo) Like [forms]![frmState]![select Account] & "*" And (Profitable.CHSAcctNo) Like [forms]![frmState]![select Account] & "*") AND ((Profitable.[Grain/FS]) Like [Forms]![frmState]![Select Type] & "*") AND ((Profitable.BSMId) Like [Forms]![frmState]![BDMList] & "*") AND ((Profitable.TopAccount) Like [Forms]![frmState]![TopAccount] & "*") AND ((Profitable.Year) Between [forms]![frmState]![lstYear] And [forms]![frmState]![2ndYear]) AND (([Forms]![frmState]![txtQueryCriteria]) Like "*;" & [State] & ";*"));