<?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: today () - automatic update as day changes without form open/refresh.</title><link>https://www.infopathdev.com:443/forums/thread/91467.aspx</link><pubDate>Thu, 18 Jul 2013 10:48:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91467</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91467.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=91467</wfw:commentRss><description>&lt;p&gt;Sorry can&amp;#39;t help you out with a timer job. Not done those yet.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I still wonder why you can&amp;#39;t use a SharePoint library with a calculted coloumn with a formula and use the function of today in the formula, not the today () of the form. Does that make sense?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Here are some good example.&lt;/p&gt;&lt;p&gt;&lt;a href="http://kishansharepoint.blogspot.co.uk/2012/05/common-datetime-formulas-for-sharepoint.html"&gt;http://kishansharepoint.blogspot.co.uk/2012/05/common-datetime-formulas-for-sharepoint.html&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: today () - automatic update as day changes without form open/refresh.</title><link>https://www.infopathdev.com:443/forums/thread/91465.aspx</link><pubDate>Thu, 18 Jul 2013 04:21:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91465</guid><dc:creator>Hypn0tik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91465.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=91465</wfw:commentRss><description>&lt;p&gt;Hi Wilkes,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I think our HR forms have slightly different purposes. &lt;/p&gt;&lt;p&gt;I have been given guidelines that my Sharepoint&amp;nbsp;users want to be able to quickly and easily locate an&amp;nbsp;employee record with the correct set of criteria for them to be approved for mine site access. They want to be able to use&amp;nbsp;the library like an excel spread sheet with filters, they do not want to interpret if they have a expired licence or not, they just want them not to be displayed if they don&amp;#39;t have it. For me this means ensuring the usual&amp;nbsp;manual checking of expiry&amp;#39;s is done inside the form,&amp;nbsp;automatically and is hidden from the user unless they view the form. If a ticket expires the licence is removed from their record ensuring manual / human intervention is kept to a minimum and library filters are kept&amp;nbsp;updated with the most current records because you cannot rely on humans to accurately update all records systematically without errors. The alerts&amp;nbsp;the users want are so that our HR officer knows a ticket will expire&amp;nbsp;within 15/30 days if the employee is currently working for us, in this case the alert can be forwarded direct to the individual.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;We will only&amp;nbsp;have about 10 users that will be&amp;nbsp;viewing the library and in total maybe 200 records stored at any one time.&lt;/p&gt;&lt;p&gt;The problem I am faced with is the users&amp;nbsp;need the ability to filter out the&amp;nbsp;records with expired or non-valid&amp;nbsp;licences and this means the forms today() function needs to actually be todays date every day. Not thedaytheformwasopened().&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have since learnt that you may manually set the fields date via&amp;nbsp;manually coded direct XML modification run on a timer job&amp;nbsp;but this still will not allow the form to run all its rules and remove the invalid licences until it is opened again.&lt;/p&gt;&lt;p&gt;I am at a loss, does anyone know if&amp;nbsp;you can run a timer job to open, update and close a form? - I know this will stuff the version history inside the library but that not as important as having the correct records.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: today () - automatic update as day changes without form open/refresh.</title><link>https://www.infopathdev.com:443/forums/thread/91452.aspx</link><pubDate>Wed, 17 Jul 2013 15:44:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91452</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91452.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=91452</wfw:commentRss><description>&lt;p&gt;Several things come to mind.&lt;/p&gt;&lt;p&gt;I&amp;#39;m not sure how many users you will have looking at your system or how many employee records you will have. I initially think training and make it part of somebody&amp;#39;s daily job to check for valid or&amp;nbsp;expired dates.&amp;nbsp; What if your email system fails - it happens.&lt;/p&gt;&lt;p&gt;If you want alerts, you might want to look at something like - &lt;a href="http://social.technet.microsoft.com/Forums/sharepoint/en-US/10c4e3ba-e4db-4de4-87ad-a6bb8959bc7f/workflow-email-reminders-based-on-date-columns-that-change"&gt;http://social.technet.microsoft.com/Forums/sharepoint/en-US/10c4e3ba-e4db-4de4-87ad-a6bb8959bc7f/workflow-email-reminders-based-on-date-columns-that-change&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve never worried about how many coloums I have in a library. Just how many items I can see in a view. In some libraries I have lots of columns because I publish some columns into Word documents as part of a created document in a document set.&lt;/p&gt;&lt;p&gt;I tend to use the All Documents view as a show all everything view - Good for us Admins.&lt;/p&gt;&lt;p&gt;Then my default view is documents I&amp;#39;ve created - simple security measure if nothing else for end users.&lt;/p&gt;&lt;p&gt;As I read it, you only need to worry about some of the dates not all of the dates.&amp;nbsp; If you published all expired dates and then used calculated columns, you could then use conditional formatting to highlight expired dates. You could then use views based on next 7 days or month&amp;nbsp;etc. So you only need to check&amp;nbsp;the&amp;nbsp;&amp;nbsp;once a week or month.  My HR lot loved this, rather than copious amounts of emails for various&amp;nbsp;HR forms and dates, since they had to compare request/days used etc against time sheets and payroll.&lt;/p&gt;&lt;p&gt;You could set up a site page with filtering by employee to view different views or required expired columns.&lt;/p&gt;&lt;p&gt;I think you would need a workflow to remove or change details inside a form and or have a data connection to update fields when a form is opened.&lt;/p&gt;&lt;p&gt;&amp;nbsp;If you want to do things overnight I believe you have to create something called&amp;nbsp; timer job.&lt;/p&gt;</description></item><item><title>Re: today () - automatic update as day changes without form open/refresh.</title><link>https://www.infopathdev.com:443/forums/thread/91446.aspx</link><pubDate>Wed, 17 Jul 2013 01:21:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91446</guid><dc:creator>Hypn0tik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91446.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=91446</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I am thinking, maybe I can have a workflow that runs nightly update the fields in the form?&lt;/p&gt;</description></item><item><title>Re: today () - automatic update as day changes without form open/refresh.</title><link>https://www.infopathdev.com:443/forums/thread/91445.aspx</link><pubDate>Wed, 17 Jul 2013 01:10:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91445</guid><dc:creator>Hypn0tik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91445.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=91445</wfw:commentRss><description>&lt;p&gt;Hi Wilkies,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Ill give you a run down of my form.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;I have created an employee record form to capture all employee details, the form includes the capture of any machine operator and drivers licences tickets along with about 30 other licences.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Many of these licences expire at various times i.e Our mine site operator tickets expire after approximately 2 years, our mine site medicals expire after only 28 days. &lt;br /&gt;In order to accurately alert someone that a ticket has expired&amp;nbsp;and remove the licence from their employee record (as its expired) I have created fields that capture the date in which the operators ticket or medical were attained.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;In a separate hidden view I have validation that grabs today&amp;#39;s date when the form opens (today()) and runs a calculation on the date they acquired the operator ticket and medical vs today&amp;#39;s date. &lt;br /&gt;This calculation spits out if they have a valid licence or medical or not. (if they do not have a valid licence or medical the field that is mapped to the form library column is displayed as blank) If it is valid, the word &amp;quot;valid&amp;quot; is displayed.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;I have completed the validation inside the form an alternative to completing it inside the library to resolve 3 problems.&lt;br /&gt;1. To keep the number of columns published to the library down to a minimum. (the expiry column on every record does not need to be published)&lt;br /&gt;2. So that the form has the ability to remove or change details inside an employee record if the licence has expired&lt;br /&gt;3. To make the filtering of the library easier, the user will only need to filter by &amp;quot;valid&amp;quot; or &amp;quot;expired&amp;quot;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;The issue I have with a calculated columns in this instance;&lt;br /&gt;1. It cannot remove expired records/licences from the form. &lt;br /&gt;2. It would require all expiry fields to be published to columns in the library&lt;br /&gt;3. It would require the end user who is looking for employee&amp;#39;s with valid licences to run through the records to find an employee with non-expired tickets, rather than using a filter to remove them completely.&lt;/p&gt;&lt;p&gt;I know there is multiple different ways to tackle the problem I have.&lt;br /&gt;I am open to suggestions and ideas and may inevitably need to run down the calculated column path if I cannot find a way to pull the current today&amp;#39;s date from share point into the form and have it automatically update the records on a nightly basis.&lt;/p&gt;&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;p&gt;Hyp&lt;/p&gt;</description></item><item><title>Re: today () - automatic update as day changes without form open/refresh.</title><link>https://www.infopathdev.com:443/forums/thread/91426.aspx</link><pubDate>Tue, 16 Jul 2013 09:06:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91426</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91426.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=91426</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to understand what it is that you want exactly. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I think you will have to have some interaction with the form, if fields rely in the today field and they have to be updated etc.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Alternaively,&amp;nbsp; you could have SharePoint calculated coloums. One would&amp;nbsp; be your form date, another could be a calculated colum which might be more of what you want.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>today () - automatic update as day changes without form open/refresh.</title><link>https://www.infopathdev.com:443/forums/thread/91425.aspx</link><pubDate>Tue, 16 Jul 2013 08:08:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91425</guid><dc:creator>Hypn0tik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91425.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=91425</wfw:commentRss><description>Hi All,

Not sure if this can be done without opening the form itself.

I have a bunch of calculations that rely on today(), but I do not want this static value or an on-load value. 
I want it to change with the current date - Automatically, can this be done in infopath without code 

- I dont mind creating a data connection to pull the current date from anywhere but as I am aware these are only activated again -- on load?

Thanks,

:)</description></item></channel></rss>