Calculated single value Text Fields display with scroll arrows

I have been using Notes designer for years and have never come across this and it's driving me nuts.
I have a mail-in database where I use @Abstract on the body field to convert to to text and then extract values from this text into calculated text fields on the Memo form. These fields are set to type text and not Allow multiple values and use Native OS Style.
Rather than go into to much detail I attach a picture of how they display.
Why do they display like a Combo with arrows?
Paul GAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steve KnightIT ConsultancyCommented:
Perhaps a carriage return in there?  Try with @trim(fieldname) or @trim(@ThisValue) in the field etc?
Paul GAuthor Commented:
Was hoping you may have seen this. All duly trimmed.
Example of my formula for extracting the text.
@Abstract([TextOnly];2000;"";"Body") to give me BodyText field.
Then from this e.g. to extract the email address
ContactEmail:= @If(
@Contains(@LowerCase(Subject);"contact us");@Left(@Right(BodyText;"email :");"message");
@Contains(@LowerCase(Subject);"enquiry for product")&@Contains(@LowerCase(BodyText);"keepme") ;@Left(@Right(BodyText;"email : ");"keepme");
@Contains(@LowerCase(Subject);"enquiry for product");@Left(@Right(BodyText;"email :");"Product name");
@Contains(@LowerCase(Subject);"registration for real demonstration")&@Contains(@LowerCase(BodyText);"keepme") ;@Left(@Right(BodyText;"email :");"keepme");
@Contains(@LowerCase(Subject);"registration for real demonstration");@Left(@Right(BodyText;"email :");"Product name");
@Contains(@LowerCase(Subject);"product registration");@Left(@Right(BodyText;"email :");"productserialnumber");
@Contains(@LowerCase(Subject);"registration for downloads") ;@Left(@Right(BodyText;"email :");"company");
@Contains(@LowerCase(Subject);"newsletter");@Right(BodyText;"signup :");

Open in new window

Steve KnightIT ConsultancyCommented:
The only way I can think of the scroll bars showing is the carriage return, wonder if there is one in your data there somehow, ah hang on think you are doing this:

@Contains(@LowerCase(Subject);"contact us");@Left(@Right(BodyText;"email :");"message");

BodyText =
email :
message: whatever

So you are doing right of "email :" = <carriage return>
message: whatever etc.

@left before message which = email <carriage return>

so try this:

ContactEmail:= @If(
@Contains(@LowerCase(Subject);"contact us");@Left(@Right(BodyText;"email :");@newline);
@Contains(@LowerCase(Subject);"enquiry for product")&@Contains(@LowerCase(BodyText);@newline) ;
@Left(@Right(BodyText;"email : ");@newline);
@Contains(@LowerCase(Subject);"enquiry for product");@Left(@Right(BodyText;"email :");@newline);
@Contains(@LowerCase(Subject);"registration for real demonstration")&@Contains(@LowerCase(BodyText);@newline) ;
@Left(@Right(BodyText;"email :");@newline);
@Contains(@LowerCase(Subject);"registration for real demonstration");@Left(@Right(BodyText;"email :");@newline);
@Contains(@LowerCase(Subject);"product registration");@Left(@Right(BodyText;"email :");@newline);
@Contains(@LowerCase(Subject);"registration for downloads") ;@Left(@Right(BodyText;"email :");@newline);


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Paul GAuthor Commented:
Steve, you are the man!!
How you spotted that without seeing the email body is beyond me but you are correct, the body does have a carriage return between fields and using @Newline as the endpoint for the selection it now works perfectly.
00:20 here so I shall sleep better tonight.
Many, many thanks!!
Paul GAuthor Commented:
Many thanks again.
Paul GAuthor Commented:
Key point here is that @Trim does not remove carriage returns.
Steve KnightIT ConsultancyCommented:
No worries, 0:20 here too.... had this left on screen before I went out!

You can also use something like @replacesubstring(whatever;@newline;"") to get rid of carriage returns too.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.