I have a question on my cfquery and I don't know how to do this.
My cfquery if very simple...
SELECT *
FROM Tasks
WHERE Assigned = '#Username#'
Which then outputs my task data for just those tasks with the specific username that is logged in.
What I would like to do is tweek the query so that a select few usernames would be able to see all the task data..not just their own. Like a manager role.
Is there way I can just tweek my query to have that data display? If so how do I do it? I am losted...Can I wrap a <cfif> tag around my where condition?
Sue
My cfquery if very simple...
SELECT *
FROM Tasks
WHERE Assigned = '#Username#'
Which then outputs my task data for just those tasks with the specific username that is logged in.
What I would like to do is tweek the query so that a select few usernames would be able to see all the task data..not just their own. Like a manager role.
Is there way I can just tweek my query to have that data display? If so how do I do it? I am losted...Can I wrap a <cfif> tag around my where condition?
Sue