Many-to-many RelationshipQuery between non-spatial tables

Discussion created by suzanneector on Mar 15, 2011
Latest reply on Mar 16, 2011 by suzanneector
I'm getting "Unable to complete operation" error on the relationship query.  I haven't found any samples for many-to-many, so I'm not sure what is wrong.  I have all the tables, relationship tables and features in one map document.  I can do the same relationship query from the services directory and it returns 4 records.

Has anyone had success with getting this type of query working with the Javascript APIs?  I have attached snippets from my code.  This seems as though it should be very simple...