Cheers,
James
Use the type argument to setParam() to tell it that they're numbers.
That didn't seem to work for me but your comment about the arguments
made me a have a closer look at the setParam() in the docs and noticed
a "list" argument. Set that to true and it's now working :-)
Code is now...
tql = 'select user.id, user.milestone, user.emailFlag, user.name
from user where user.id NOT IN (:list)';
query = application.transfer.createQuery(tql);
query.setParam('list',listOfUsers,'list',true);
qryUsers = application.transfer.listByQuery(query);
Thanks again,
James