Avatar of bobrossi56
bobrossi56
 asked on

Add code to Lotus Notes view column

New to programming in Notes. I have version 8.5 of Domino Designer. I created a simple 3 field form called cvt. One of the fields (author)is meant to capture the person creating the document so I used @Author and it worked but I got a lot of info after the name I did not want, so I changed the code to @LeftBack(@Author; "/") and now the form field simply just shows the persons name. Perfect.

My problem is when I created a VIEW called CVT to show these 3 form fields for each created document. For each column I tied the column to the form field so the view column Author is tied to the form field called author. When my users create new documents now and I use the CVT view, the author column has a long string of crap in it right after the name. if you open the document the form shows just the name, but in the view it shows more than just the name. How do I truncate all the crap after the name in the view? I am not sure how to add code to a view column, I usually just name the column, size its width and tie it to the form field name.
thx experts...
BobR
Lotus IBMEmail Clients

Avatar of undefined
Last Comment
bobrossi56

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Steve Knight

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
bobrossi56

ASKER
I used your "just create a field, make it "text" and "computed when composed" and @name([CN];@Author);" suggestion and it worked perfectly. I did not know about that. I will file it away for sure.
thanks again...BobR
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck