﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebScheduler - can filter resource, category and event?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/can-filter-resource-category-and-event/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>can filter resource, category and event?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/can-filter-resource-category-and-event/</link><pubDate>Tue, 14 Dec 2010 21:39:10 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Naaz,&lt;/p&gt;&lt;p&gt;Ok, Thank you for the confirmation. I could not mark this as the aswer because this a discussion thread. &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>can filter resource, category and event?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/can-filter-resource-category-and-event/</link><pubDate>Tue, 14 Dec 2010 06:22:20 GMT</pubDate><dc:creator>naaz</dc:creator><description>yeah great. could you please mark it as an answer..This is exactly what i need.&lt;br /&gt;&lt;br /&gt;Many Thanks,&lt;br /&gt;Naaz&lt;br /&gt;</description></item><item><title>can filter resource, category and event?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/can-filter-resource-category-and-event/</link><pubDate>Tue, 14 Dec 2010 04:43:50 GMT</pubDate><dc:creator>naaz</dc:creator><description>&lt;p&gt;Hello Handy,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Can you please send me this application with framework 2.0 support. I have vs2008 and i am using FW 2&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Many thanks and waiting&lt;/p&gt;
&lt;p&gt;Naaz&lt;br /&gt;&lt;/p&gt;</description></item><item><title>can filter resource, category and event?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/can-filter-resource-category-and-event/</link><pubDate>Tue, 14 Dec 2010 03:25:44 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Naaz,&lt;/p&gt;&lt;p&gt;It is not possible to do that directly. As you can see in previous project, in my dataset for table Resources, you can see what query I used.&lt;br /&gt;The problem is you could not dynamically change its parameter.&lt;/p&gt;
&lt;p&gt;e.g &lt;br /&gt;My custom select method is:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;SELECT        ID, ResourceName, Description, Location, ResourceColor
FROM            Resources
WHERE        (ID = ?) OR (ID = ?)&lt;/pre&gt;
&lt;p&gt;My suggestion is, provide some parameters to be called in your query.&lt;br /&gt;e.g&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;SELECT        ID, ResourceName, Description, Location, ResourceColor
FROM            Resources
WHERE        (ID = ?) OR (ID = ?) OR (ID = ?) OR(ID = ?) OR(ID = ?) OR(ID = ?) OR(ID = ?)&lt;/pre&gt;
&lt;p&gt;Then, validate in your login information. If user has 3 parameters such as 1,2 and 3, You will need to substring "," and split each values. After that, add each values into the parameter.&lt;/p&gt;
&lt;p&gt;e.g &lt;br /&gt;in ISDataSourceSelecting serverside event, define&lt;br /&gt;&lt;/p&gt;&lt;pre&gt; e.InputParameters[0] = 1;
 e.InputParameters[1] = 2;
 e.InputParameters[2] = 3;&lt;/pre&gt;
&lt;p&gt; It will run the query like this:&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;SELECT        ID, ResourceName, Description, Location, ResourceColor
FROM            Resources
WHERE        (ID = 1) OR (ID = 2) OR (ID = ?) OR(ID = 3) OR(ID = null) OR(ID = null) OR(ID = null)&lt;/pre&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>can filter resource, category and event?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/can-filter-resource-category-and-event/</link><pubDate>Mon, 13 Dec 2010 06:39:52 GMT</pubDate><dc:creator>naaz</dc:creator><description>&lt;p&gt;Dear Handy,&lt;br /&gt;&lt;br /&gt;Thank you so much for the great response. Is this application if the Parameter is in difference in number. &lt;br /&gt;&lt;br /&gt;I have two managers. One manager is having 4 employees working under him 
and one manager is having 3 employees working under him and each and 
everyone want to see the schedule of his employees. It can be 
implemented at run time. i mean can i pass the paramater at runtime. The
 query which i was trying is something like that&lt;br /&gt;&lt;br /&gt;SELECT ID, ResourceName, Description, Location, ResourceColor&lt;br /&gt;FROM Resources&lt;br /&gt;WHERE (ID IN (?))&lt;br /&gt;&lt;br /&gt;If
 i pass one parameter it works file but i can't pass more then one 
parameter in it. Could you please advise what is the best approach to 
achieve what i am looking. I have a login. As far as the person logon i 
am getting a string of resource working under him like 2,3,5,7 or 1,4,6 
etc... &lt;br /&gt;&lt;br /&gt;Please guide me how to pass the query at runtime..&lt;br /&gt;&lt;br /&gt;Many Thanks,&lt;br /&gt;Naaz&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>can filter resource, category and event?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/can-filter-resource-category-and-event/</link><pubDate>Mon, 13 Dec 2010 05:36:23 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Naaz,&lt;/p&gt;
&lt;p&gt;It does not matter. You only configure your query to select more than one parameter in your select Resources. Then, add parameters that you would like to use. Please see my attached sample, I assign two sessions as the parameter.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>can filter resource, category and event?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/can-filter-resource-category-and-event/</link><pubDate>Sat, 11 Dec 2010 10:22:18 GMT</pubDate><dc:creator>naaz</dc:creator><description>Hello Handy,&lt;br /&gt;&lt;br /&gt;Thanks for the great help. This is exactly what i am looking for but i want to display more then one resources,&amp;nbsp; if i change the session parameter to obtain the group of ids, means my manager want to see all his employees schedule. this is very important for me. please guide &lt;br /&gt;&lt;br /&gt;Many Thanks,&lt;br /&gt;Naaz&lt;br /&gt;</description></item><item><title>can filter resource, category and event?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/can-filter-resource-category-and-event/</link><pubDate>Thu, 21 Jan 2010 05:20:51 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;You will need to select by using parameter in your query. The parameter should be specific "Resources". Here is my attached sample. I am using parameter session to show you that the resources would select only the parameter i set. Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>can filter resource, category and event?</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/can-filter-resource-category-and-event/</link><pubDate>Wed, 20 Jan 2010 04:38:53 GMT</pubDate><dc:creator>aloisius</dc:creator><description>&lt;p&gt;i need customize web schedule for department, user only see event, resource and category for her department. ex: user form marketing department only see event on marketing department, select resource and select category form marketing department.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>