Here's the sql view; seems correct to me but still missing records from vPortfolio:

SELECT vPortfolioTransaction.PortfolioID, vPortfolioTransaction.TradeDate, vPortfolioTransaction.TradeAmount, vPortfolioTransaction.TransactionCode
FROM vPortfolioTransaction RIGHT JOIN vPortfolio ON vPortfolioTransaction.PortfolioID = vPortfolio.PortfolioID
WHERE (((vPortfolioTransaction.TradeDate)=#9/25/2013#) AND ((vPortfolioTransaction.TransactionCode)="lo"))
ORDER BY vPortfolioTransaction.PortfolioID;

0

ShawnGrayAuthor Commented: 2013-10-03

If I remove all criteria its ok.
When I add
WHERE (((vPortfolioTransaction.TransactionCode)="lo"))

Featured Post

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.