Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IsEmpty
Message
From
04/03/2010 22:09:29
 
 
To
04/03/2010 19:15:39
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
01452408
Message ID:
01452673
Views:
30
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
Map
View

Click here to load this message in the networking platform