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
ASKER CERTIFIED SOLUTION
Avatar of Steve Knight
Steve Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of bobrossi56
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
Lotus IBM
Lotus IBM

Lotus Software produced the Lotus 1-2-3 spreadsheet program, and later developed Lotus Notes, a groupware and email system. Following its acquisition by IBM, the Notes and Domino client/server collaborative platform were expanded to include functions such as email, calendars, to-do lists, contacts management, teamrooms, discussion forums, file sharing, microblogging, instant messaging, blogs, and user directories. IBM also release SmartSuite, a comprehensive office suite, and followed that with Symphony, unrelated to the Lotus suite of the same name.

21K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo