Hargreavesk
Technical User
Hi,
I have a function which fills my text boxes with asterisks based on the amount of text I put in them. When I put in the following "JoeBloggs" it then fills the text box like this:
JoeBloggs*****************************
**************************************
However, when I put in the following "Joe Bloggs" it then fills the text box like this:
Joe
Bloggs********************************
The text seems to be wrapping when it finds a space in the field. Can anyone explain why this is happening and what I need to do to stop it?
My query is using Len to calculate the length of the text before adding the asterisks - could this have something to do with it?
Any help would be appreciated.
Kate
I have a function which fills my text boxes with asterisks based on the amount of text I put in them. When I put in the following "JoeBloggs" it then fills the text box like this:
JoeBloggs*****************************
**************************************
However, when I put in the following "Joe Bloggs" it then fills the text box like this:
Joe
Bloggs********************************
The text seems to be wrapping when it finds a space in the field. Can anyone explain why this is happening and what I need to do to stop it?
My query is using Len to calculate the length of the text before adding the asterisks - could this have something to do with it?
Any help would be appreciated.
Kate