SELECT tblMaster.id, desc FROM tblMaster LEFT OUTER JOIN tblUser ON tblMaster.id = tblUser.id AND tblUser.user = 'JOH' WHERE tblMaster.installed == .T. AND NOT tblUser.notshown == .t. ORDER BY Desc INTO CURSOR crsGameTempOkay, after pasting this code here, I see where the error is. The clause 'NOT tblUser.notshown == .T.' may not be outside of the join statement. This messes it up. When I move that piece of code to the join like this:
SELECT tblMaster.id, desc FROM tblMaster LEFT OUTER JOIN tblUser ON tblMaster.id = tblUser.id AND tblUser.user = 'JOH' AND NOT tblUser.notshown == .t. WHERE tblMaster.installed == .T. ORDER BY Desc INTO CURSOR crsGameTempI always get all the results, and the filter on not showing the 'notshown' records doesn't work.