I did this sort of thing for users in (or not in) roles... the result is two query objects ones that are in the target role and those that are not...like this: i1 = targetrole.getuserIterator(); q1 = i1.getQuery(); vl = valuelist(q1.userid); gw = request.reactor.createGateway("user"); q2 = gw.createQuery(); if(q1.recordcount gt 0) { q2.getWhere().isNotIn("user","userid",vl); } qryNOTSelecteduser = gw.getByQuery(q2); qrySelecteduser = q1; David A. Cheslow PhD Saturna Software Systems - http://www.saturnasoftware.com BOX 190 SATURNA ISLAND BC V0N 2Y0 CANADA (250) 539-3703 On Aug 9, 2006, at 2:15 PM, Ryan Guill wrote:
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
- [Reactor for CF] How would I do this in Reactor? Brad Haas
- Re: [Reactor for CF] How would I do this in Reac... Ryan Guill
- Re: [Reactor for CF] How would I do this in Reac... Teddy Payne
- Re: [Reactor for CF] How would I do this in Reac... João Fernandes
- Re: [Reactor for CF] How would I do this in Reac... Brad Haas
- Re: [Reactor for CF] How would I do this in Reac... João Fernandes
- Re: [Reactor for CF] How would I do this in Reac... Brad Haas
- Re: [Reactor for CF] How would I do this in Reac... David A. Cheslow PhD
