ACC1x: GPF Using Empty String with CVDate() or IsDate()

ID: Q97532


The information in this article applies to:


SYMPTOMS

If either the CVDate() or IsDate() function is called with an empty string as the expression, such as CVDate(""), Microsoft Access causes a general protection (GP) fault.


RESOLUTION

Verify that you are passing valid date strings in the argument to CVDate() or IsDate().


STATUS

Microsoft has confirmed this to be a problem in Microsoft Access version 1.0. This problem was corrected in Microsoft Access version 1.1.


MORE INFORMATION

The CVDate() function converts strings or numeric expressions to a variant of data type date. The IsDate() function returns a value indicating whether or not a variant argument can be converted to a date.

Additional query words: WinIss


Keywords          : kbenv 
Version           : 1.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: March 19, 1999