Note: I edited post #2 in this thread because I misspelled a field name in the sql that I (originally) posted.
The original sql (which was wrong) was posted as follows:
AND (CLASSDESCRIPTORLAST = 'M' OR CLASSDESCRIPTORLAST = 'S') AND POSFINCALL = 1
CLASSDESCRIPTORLAST is not the correct fieldname - and causes an error.
The sql (which has now been corrected) reads as follows:
AND (CLASSDESCRLAST = 'M' OR CLASSDESCRLAST = 'S') AND POSFINCALL = 1
CLASSDESCRLAST is the correct fieldname - and works just fine.
-jp
.
|