This part is incorrect
ttam.class != ttam1.class!=ttpm.classpm!=ttpm1.classpm
You can't string them together like that. You need to separate them out as separate claues and use AND or OR to build up the logical expression.
ttam.class!=ttam1.class AND ttam1.class != ttpm.classpm AND ttpm.classpm != ttpm1.classpm
hericles
Veteran Poster
1,065 posts since Nov 2007
Reputation Points: 156
Solved Threads: 228
Skill Endorsements: 9
Question Answered as of 1 Year Ago by
hericles