Just learning BAQs. I need to get a LEFT JOIN working between OrderDtl and Memos for a particular CategoryID of Memo. When I add the Memo table to the query, it does not create a Join and I can’t figure out how to get one. I tried Table Relations, but it does not provide a drop down for the OrderDtl and Memo. I tried adding TABLE Criteria for OrderNum = Key1 and OrderLine = Key2, but it creates a cross join and I don’t get OrderDtl that have no memos.
Answered my own question: Use the little dots around the table boxes to create a relationship. No doubt should I read the manual. It would be SO much easier to just type in a query but since we’re in the cloud that’s not available.
Nailed it. You’re going to want to put Table Criteria on Memo.RelatedToFile = ‘OrderDtl’, because some Memos may have non-int values in Key1/Key2 that will throw an error when trying to join.