Register  Login  
  February 9, 2012  
Forum    
Forum Minimize
 
ForumForumDiscussionsDiscussionsSQLGridSelected...SQLGridSelected...Needing some query helpNeeding some query help
Previous Previous
 
Next Next
New Post
 6/26/2010 5:37 PM
 

I need some help formulating a query to work with the module. I've got the query to pull a list of names (Team Leads and their direct reports) by using the DNN UserID to determine if the person is a team lead or not. That part works well - but, when I select the 'All' option, I don't get anything as the filter is passing a 0 into the portion that looks up the user information.

Is is possible to wrap the query in an if else so that when the userID field is equal to 0 that it bypassed the check for the userID? If so, how could I check for the value - is it still [PARM:fieldname] - ie. if [PARM:fieldname] or ??

Thanks in advance.

Previous Previous
 
Next Next
ForumForumDiscussionsDiscussionsSQLGridSelected...SQLGridSelected...Needing some query helpNeeding some query help

Print  

  Home | Blog | Forum | Subscriptions | Free Modules | Videos   Page generated in 0.125312 seconds.
  Copyright 2010 by TressleWorks   Terms Of Use | Privacy Statement