Thank you for your answer but I don't have a property that is using the %FilemanDate as a datatype.
The situation is that I have code which is reading a data file that contains a field for the date birth which is in a Fileman format and the code is trying to convert it to $H, thus the code is calling out to the##class(%Library.FilemanDate).LogicalToDate() method. However the data in the field is sometimes bad and when calling the method it errors. We were thinking that if the STRICKDATA was set to a 1 it would either try not to convert it or it would return a null string. It would error more gracefully.
I know that I can add code before calling the method to make sure that the DOB I pass in is the correct Fileman format and is a valid date but I was hoping that the method/class could handle that for me. However I can't figure out how to set the STRICTDATA parameter.
thanks
Kris
- Log in to post comments