General information
Category:
The Mere Mortals .NET Framework
That is set to ON in my test server also. I am not sure what the ramifications would be to the rest of the application if this is changed. That would be a whole new issue. I really think this is an issue that should be taken care of in the logic of what is Empty when it comes to strings. I don't think eliminating spaces from the data value is the right fix in this case. I think the logic should be crafted in a way that works the way human users perceive an entered value. If the entry is not showing the user anything the user will perceive it as Empty or Blank and so should the logic. That is why the VFP EMPTY() works so well and I think it is a correct representation.
Ultimately I think there should be an additional parameter in mmType.IsEmpty() or .IsEmptyorNull() that indicates to the method to ignore trailing spaces.
Thanks Sam
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only