Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Trimming spaces from wwBusiness object properties

$
0
0
Trimming spaces from wwBusiness object properties
West Wind Client Tools
Trimming spaces from wwBusiness object properties
04/03/2012
07:16:16 AM
3GY0FL4W1 Show this entire thread in new window
Gratar Image based on email address
From:
Matt Slay
To:
All 
Attachments:
None
I hate it that when you scatter a data row to a wwBusiness object, and when there are string values in the table, your properties on the bus obj often have a lot of trailing spaces at the end of their property values. Becuase of this trailing white space from the table, I wind up having to use use Alltrim() ALL OVER THE PLACE!!!

Might you add a new feature to wwBusiness, with a option flag, so that after a Load() it would iterate over all the string properties and do Alltrim() to them.

Is it reasonable to have to bus object framework clean up the BO (trim the whitespace) like this? I mean, are there time when you’d WANT this messy whitespace on the end?

At least by having an option flag, each user of the framework could opt-in to this feature.


Viewing all articles
Browse latest Browse all 10393

Trending Articles