Quote:How are the variables that are receiving the date values declared? If a string variable receives an empty string it will display as a string with no length. But a date variable will display as the zero date ("0000/00/00"). Also, how are you initializing the dates in the external application/database? Were they initialized by a user, initial value, or SBasic programming?
All the variables used are the string variables. like
var vLastlab as String
var vLastLead as String
Quote:If a string variable receives an empty string it will display as a string with no length.
From some fields String Variable is getting empty string while from other it is getting "0000/00/00/" and that seems to be the problem.
Quote:Also, how are you initializing the dates in the external application/database? Were they initialized by a user, initial value, or SBasic programming?
The date values were initialized by the programming generally. Since the value is blank in the external database from which value is retrieved, it was not initialized, I suppose.
I believe the newly created Date field with version 2.0 and after gives Null results while the fields created with earlier versions is giving "0000/00/00" string to the string variable for the blank value but I could be wrong in my this assessment.