If you need to set a date field to an empty date or if you need to check whether a date field is empty or not, you can use Global::datenull() function which basically returns the date "01/01/1900". Here is a simple example
if (mydatefield == datenull())
// You don't need to specify Global class name to access Global class functions
No comments:
Post a Comment