Hi Guys,
Thanks for the responses.
The problem I have is not what is written back to the database but more to do with what is returned by a BO field when it is accessed. For example, if you read a value from a BO field that is 20 characters long, then you will see different results depending on the trim settings:-
BO trim is set to left only, myBO.Name returns "Aaron Young "
BO trim is set to both left and right, myBO.Name returns "Aaron Young"
Obviously, I can use the trim command on any BO field reference but I want to be lazy and this seems like too much effort when the only problem is the textbox accepting spaces
I have a sub-classed Infragistics textbox control that removes leading and trailing spaces when the control leaves focus/editing mode. I had assumed the SF text control would do the same rather than put a block on all spaces when editing.
I dont want to appear fussy about this but left trim and right trim should allow spaces in the middle of your string. In the above example it would have been impossible to enter "Aaron Young" with left and right trim enabled. As I say I dont want to appear fussy about this but it would be a help if the control would allow spaces
Regards,
Aaron