Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

How do I compare a date/time field to a blank (nothing entered)?

$
0
0

Using Sharepoint Foundation Server 2010.  In WSS 3.0 I had a Help Desk app with workflow to check if a form date entry has been entered.  Trying to move that functionality to SFS 2010.  In WSS 3.0 the workflow it looked like this

Set Variable:DateCompare to CurrentItem:Commit Date
If Variable:DateCompare is not empty and CurrentItem:CommitStatus equals No then
do something

The "is not empty" condition appears to not be an option is SFS 2010.  How do you compare a form date entry to determine if the user entered something or not?  I guess I could initialize that field to a set older date and compare against that, but in general it would be nice to know how to properly test for a date entry into a form field.  Can anyone out there in etherland help us out on this?  I really need to buy a SFS 2010 reference guide!


Alan-Seattle


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>