<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Custom Query? - Return specific records based on a field's value</title><link>https://www.infopathdev.com:443/forums/thread/64534.aspx</link><pubDate>Thu, 24 Feb 2011 12:32:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64534</guid><dc:creator>Max M</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64534.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64534</wfw:commentRss><description>&lt;p&gt;I dont&amp;#39; have access to install things on the server. The form isn&amp;#39;t really published anywhere on the internet or intranet, it is just a XSN file in a network location that is accessible by everyone who needs to use it, and they all have infopath on their machines.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try adding the supervisor&amp;#39;s name to each employee&amp;#39;s record, and then try to query based on that. Thanks.&lt;/p&gt;</description></item><item><title>Re: Custom Query? - Return specific records based on a field's value</title><link>https://www.infopathdev.com:443/forums/thread/64371.aspx</link><pubDate>Mon, 21 Feb 2011 08:37:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64371</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64371.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64371</wfw:commentRss><description>&lt;p&gt;Well, easiest might be to use Active Directory and just get all of the directs for the current person. Installing Qdabra&amp;#39;s Active Directory Web Service (free trial) and setting this up would take maybe 30-60 minutes. Not much time to do this. The benefit is that when management changes, it automatically works and shows the update. &lt;/p&gt;
&lt;p&gt;Another option would be to create a column in your DB table that has the supervisor&amp;#39;s name and then you can query the database based on that but that also requires a Web Service because parameterized queries aren&amp;#39;t supported in the default SQL query data adapters. &lt;/p&gt;
&lt;p&gt;I&amp;#39;m not quite sure how you have it working today. Are you using a SQL database form or is it an XML form with a SQL query?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Custom Query? - Return specific records based on a field's value</title><link>https://www.infopathdev.com:443/forums/thread/64329.aspx</link><pubDate>Fri, 18 Feb 2011 13:05:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64329</guid><dc:creator>Max M</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64329.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64329</wfw:commentRss><description>&lt;p&gt;My company has a three-tiered management level (Section, Branch, Division) and I have a query that looks up all of the employee records for a section by selecting that section from a drop-down menu. I would like the Branch managers and the Division manager to be able to see only their direct subordinates when they select their branch or division from the drop-down... &lt;/p&gt;
&lt;p&gt;&amp;nbsp;So far it works at the lowest level only, where a Section manager will see all of their employees except themselves, because I set a filter to&amp;nbsp;only show&amp;nbsp;records where a flag &amp;quot;IsSupervisor&amp;quot; is FALSE. I want the Branch managers to only see the Section managers underneath them (and change the filter of the &amp;quot;IsSupervisor&amp;quot; field), and I want the Division manager to only see the Branch managers. &lt;/p&gt;
&lt;p&gt;I&amp;#39;m open to changing the database, but I&amp;#39;d prefer to accomplish this with some kind of query that recognizes the orgID as a branch-level or division-level and then only returns a specific set of records based on the employeeID of those section/branch managers. I don&amp;#39;t mind hard-coding the records that it should return because there are relatively few managers. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any thoughts?&lt;/p&gt;</description></item></channel></rss>