<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/34306.aspx</link><pubDate>Sat, 15 Nov 2008 04:30:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34306</guid><dc:creator>steini</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34306.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34306</wfw:commentRss><description>&lt;p&gt;ok&lt;/p&gt;
&lt;p&gt;&amp;nbsp;What I want is something like:&lt;/p&gt;
&lt;p&gt;Shiftreport ( repeating section)&lt;/p&gt;
&lt;p&gt;employee name:( drop down list box )&lt;/p&gt;
&lt;p&gt;date ( from main view )&lt;/p&gt;
&lt;p&gt;repeating table:&amp;nbsp;( sorted by emloyee name dro down list box )&lt;/p&gt;
&lt;p&gt;equipment: Job number( work order ): hours(added here manually then&amp;nbsp;summed up by&amp;nbsp;a formula )&amp;nbsp;: &lt;/p&gt;
&lt;p&gt;&amp;nbsp;------------------------------------------------&lt;/p&gt;
&lt;p&gt;Your last setup showed up all the jobs and all the emloyees in the secondaray data source but sorting it to show the right data just does not seem to work for me&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/33972.aspx</link><pubDate>Fri, 07 Nov 2008 01:05:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33972</guid><dc:creator>steini</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33972.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33972</wfw:commentRss><description>&lt;p&gt;Ok this does not quite work for me&lt;/p&gt;
&lt;p&gt;The setup is as you described in the secondary data source&lt;/p&gt;
&lt;p&gt;The main data source: ( what I need from it )&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Job ( repeating )&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Machine asset number&lt;/p&gt;
&lt;p&gt;Work Order number&lt;/p&gt;
&lt;p&gt;Mechanic/Electrician: ( repeating table )&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Mechanis/Electricians on this job&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;There are about 40 craftsmen working on the site on shifts and dayshifts so for each shift there is a report saved from this form and each employee needs to print out a time sheet with the wo: and asset number and his hrs on that job.&lt;/p&gt;
&lt;p&gt;I would like the view for the time report to show only data for craftsmen working on that shift ( that show up in the main data source ) and each to have his own section/table that shows his name and then lists the jobs he is registered for on that shift ( WO number and Asset number )&lt;/p&gt;
&lt;p&gt;&amp;nbsp;A text field after each job in the list that the employee can enter the hrs for the work and then the total hrs calculated togeather at the bottom.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Do you think this is possible?&lt;/p&gt;
&lt;p&gt;Thanks Steini&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;</description></item><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/33938.aspx</link><pubDate>Thu, 06 Nov 2008 11:55:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33938</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33938.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33938</wfw:commentRss><description>&lt;p&gt;The schema I described for the secondary data source &lt;em&gt;is&lt;/em&gt; just a list of names.&amp;nbsp; If yours is different, please describe how it is different (please be more specific) and explain why the steps I listed don&amp;#39;t work in your case.&lt;/p&gt;</description></item><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/33925.aspx</link><pubDate>Thu, 06 Nov 2008 03:18:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33925</guid><dc:creator>steini</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33925.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33925</wfw:commentRss><description>&lt;p&gt;Actually my secondary data source is an xml spreadhseet, and it&amp;#39;s simply a list of names.&lt;/p&gt;
&lt;p&gt;the other part is&amp;nbsp;mostly correct although I have a bit more data in the Jobs section and the hours are only entered in the time report view.&lt;/p&gt;
&lt;p&gt;The employee name is an dropdown list box in an repeating table, inside the jobs&amp;nbsp;repeating section,&amp;nbsp;and the listbox is getting data from the secondary data source.&lt;/p&gt;</description></item><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/33924.aspx</link><pubDate>Thu, 06 Nov 2008 02:47:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33924</guid><dc:creator>steini</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33924.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33924</wfw:commentRss><description>&lt;p&gt;Sorry about the late reply&lt;/p&gt;
&lt;p&gt;&amp;nbsp;have been busy with other tasks but will let you know as soon as I try this out&lt;/p&gt;</description></item><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/33648.aspx</link><pubDate>Wed, 29 Oct 2008 15:02:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33648</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33648.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33648</wfw:commentRss><description>&lt;p&gt;Ok, so I&amp;#39;m guessing your secondary data source looks something like:&lt;/p&gt;
&lt;p&gt;Employees (repeating)&lt;br /&gt;&amp;nbsp;&amp;nbsp; Name&lt;/p&gt;
&lt;p&gt;&amp;nbsp;And your main data source has a part like:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Jobs (repeating)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; JobName&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Employees (repeating)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmployeeName&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hours&lt;/p&gt;
&lt;p&gt;So the first thing you do is drag the Employees node from your &lt;em&gt;secondary data source&lt;/em&gt; onto the view and represent it as a repeating section.&amp;nbsp; A text box for the employee name will automatically be inserted and you can format it how you like.&lt;/p&gt;
&lt;p&gt;Now go to the Controls section of the Design tasks task pane and drag a repeating table into the repeating section you just created.&amp;nbsp; A dialog will pop up.&amp;nbsp; Bind the table to the &lt;em&gt;Employees&lt;/em&gt; node (not the Jobs node) of your main data source, and click Next.&amp;nbsp; Add the hours node (and whatever else you want) to the list of columns and click Finish.&lt;/p&gt;
&lt;p&gt;Go into the settings for the repeating table you just created, go to the Display tab, and set a filter to show rows when EmployeeName (in the main data source) equals Name in the secondary data source.&lt;/p&gt;
&lt;p&gt;Close all open dialogs, click on the repeating table, go to Layout in the design tasks and click Add Table Column.&lt;/p&gt;
&lt;p&gt;Delete the text box that&amp;#39;s automatically created, go to the Data source,&amp;nbsp;use the &lt;em&gt;right mouse button&lt;/em&gt;, drag the JobName node into the empty space, and represent it as an expression box.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If I understood your specification correctly, this should be about all you need to do.&amp;nbsp; In the additional view, the employees will appear in the order they appear in the secondary data source, so if you would like them to be sorted, I&amp;#39;d recommend sorting the names in that secondary data source.&lt;/p&gt;
&lt;p&gt;Please give&amp;nbsp;the above&amp;nbsp;a try and let me know how it works out.&lt;/p&gt;</description></item><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/33614.aspx</link><pubDate>Wed, 29 Oct 2008 06:25:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33614</guid><dc:creator>steini</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33614.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33614</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;Great news&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;I am using a secondary datasource to populate the drop down box with employee names&lt;/p&gt;
&lt;p&gt;How can I do this without code?&lt;/p&gt;</description></item><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/33612.aspx</link><pubDate>Wed, 29 Oct 2008 05:29:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33612</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33612.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33612</wfw:commentRss><description>&lt;p&gt;What are you using to populate those dropdown boxes?&amp;nbsp;&amp;nbsp; If it&amp;#39;s a secondary data source or a group outside of your repeating groups, you might be able to pull this off without any code.&lt;/p&gt;</description></item><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/33608.aspx</link><pubDate>Wed, 29 Oct 2008 02:12:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33608</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33608.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33608</wfw:commentRss><description>&lt;p&gt;The InfoPath 2003 out-of-box sample Asset Tracker has a JS example of how to sort. Might be helpful and should be easily downloadable from the Microsoft solution site.&lt;/p&gt;</description></item><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/33604.aspx</link><pubDate>Tue, 28 Oct 2008 20:49:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33604</guid><dc:creator>steini</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33604.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33604</wfw:commentRss><description>&lt;p&gt;Thanks Jimmy&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The way it is set up now is that each employee picks his name from a drop down list box and then the equipment he worked on and the WO numbers for each task are displayed taking the repeating sections from the other view and sortin out only those that have&amp;nbsp;his name attached to them.&amp;nbsp;and then he enters the time for each job.&lt;/p&gt;
&lt;p&gt;If I get this function to repeat in an repeating table or section so each employee could have it&amp;#39;s own report in the same view then I would have everything I wanted from this gadget.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;do you see a way to do that?&lt;/p&gt;
&lt;p&gt;I am not an experienced programmer but have fiddled around with some JS an html so if you make it simple enought I just might get it :-)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/33579.aspx</link><pubDate>Tue, 28 Oct 2008 14:12:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33579</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33579.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33579</wfw:commentRss><description>&lt;p&gt;I understand now.&lt;/p&gt;
&lt;p&gt;It would be easy enough to display a table of employee names matched up with the jobs they did and the hours for each job, but the employees would appear in the same order they appeared in the other table, spread apart and without any sorting.&lt;/p&gt;
&lt;p&gt;Sorting of repeating tables isn&amp;#39;t a built-in function of InfoPath, and what you describe certainly isn&amp;#39;t. I&amp;#39;m afraid that if you want to implement this you&amp;#39;ll need to use code to rearrange the data into groups more conducive to the display you describe.&amp;nbsp; I can give you a push in the right direction if you&amp;#39;d like to go that route&lt;/p&gt;</description></item><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/33566.aspx</link><pubDate>Tue, 28 Oct 2008 07:17:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33566</guid><dc:creator>steini</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33566.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33566</wfw:commentRss><description>&lt;p&gt;No not quite&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I need the hours separated to each equipment the maitenance personal worked on&lt;/p&gt;
&lt;p&gt;hense the hassle.&lt;/p&gt;
&lt;p&gt;So in the first repeating section there is information abut Work order numbers and equipment worked on&lt;/p&gt;
&lt;p&gt;this info needs to get to the time report along with the hours that belong to that WO and equipment but skipping all kinds of other data in the repeating section ( that was done with filters and editing ) &lt;/p&gt;
&lt;p&gt;also we usually have more than one personel working on each equipment so&amp;nbsp;I need to sort them according the persons name and then get a new section/table with the next persons WO/equipment and hrs listed&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have this all&amp;nbsp;working really nicely exept for that repeating part&lt;/p&gt;</description></item><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/33565.aspx</link><pubDate>Tue, 28 Oct 2008 07:07:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33565</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33565.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33565</wfw:commentRss><description>&lt;p&gt;So let me see if I understand this right.&amp;nbsp; You want the second view to just show a list of all the employees, next to the total number of hours each employee has from the other view?&lt;/p&gt;</description></item><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/33564.aspx</link><pubDate>Tue, 28 Oct 2008 06:52:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33564</guid><dc:creator>steini</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33564.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33564</wfw:commentRss><description>&lt;p&gt;Hi Jimmy&lt;/p&gt;
&lt;p&gt;thanks for a swift reply&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The reason is that the first wiew is a list of maitenance jobs (&amp;nbsp;repating sections )&amp;nbsp;done on one shift where each maitenance personal involved puts his name(&amp;nbsp;repeating table insied the repeating section ). &lt;/p&gt;
&lt;p&gt;The second&amp;nbsp;view&amp;nbsp;is a time report for each maitenance personal where I sort the repeating section according to the person&amp;#39;s name and display what information needed for the time report.&lt;/p&gt;
&lt;p&gt;I would like to do this in an repeating section so that each personel can make a time report on that page and then the supervisor just has to press print to get the whole bunch&lt;/p&gt;</description></item><item><title>Re: Repeating sections into a repeating section or table in another view</title><link>https://www.infopathdev.com:443/forums/thread/33563.aspx</link><pubDate>Tue, 28 Oct 2008 06:41:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33563</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33563.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33563</wfw:commentRss><description>&lt;p&gt;Is there a particular reason why you are putting the repeating sections &lt;em&gt;inside another repeating section&lt;/em&gt; in the other view, instead of just putting them into the additional&amp;nbsp;view?&amp;nbsp; It sounds like that&amp;#39;s what&amp;#39;s causing the problem.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>