Has anyone come across this error when opening a view on the Domino server, containing an @Transform in the column formula?“Invalid formula: unknown function/operator”
I do not receive this error when I work locally. The view displays just fine.
Here is my formula.
myName := @Name([CN];@UserName);
@Trim(@Transform(FieldName;“x”; @If(@Contains(x; myName);@Right(x;" – “);”")))
Thanks,
Scott
www.cycom-inc.com
Subject: @Transform in a view
Scott,
What version is your Domino Server? The @Transform is a R6 function and if the database is on an R5 server you will get the message.
HTH
Mike Wagner
Subject: *Any chance it is an R5 server?
Subject: RE: *Any chance it is an R5 server?
hmmm I wonder if this is post is sort of like deja vu? Could we have just commented to the original thread than to restart the obvious from Mike Wagner’s post?
Maybe we should have more people just repeat posts as well? Perhaps repetition is needed.(?)
Subject: What is your point? His response hadn’t replicated before I answered
For those of us who post in Notes, it is always a danger that we will answer a post before another answer is replicated. Of course, even for those who post from the web, an answer might not have replicated from another server in the cluster before we answer. Since we can’t delete posts, it is not uncommon to have multiple answers that say the same thing.
Subject: RE: What is your point? His response hadn’t replicated before I answered
The problem gets worse in times like these, when a new prerelease is running on one or more of the servers in the cluster. Replication can be slowed, and sometimes replication stops for a while.
The same problem occurs on the web. It’s a server cluster, remember? You might not be looking at the same server that someone else is looking at. Want some fun? Take a look at the R4 & R5 forum around the time that ND6 was in pre-release. You’ll see hundreds of duplicate postings, postings about disappearing postings, etc. People were posting to one server, then failing over to another when they went back to the view.
Subject: Actually, this has been one of the lowest impact pre-release times
I hope it says good things about ND7
Subject: @Transform in a view
I think Ben and Mike are right about the server probablu being R5, but do you really want to use @username in a COLUMN formula? I would think this would cause a serious performance issue for this view.
Subject: R5 Server
Thank you for reminding me. They have not upgraded this test server yet. I thought all the servers were DN6.
Thanks for your help.
I’m not too worried about the performance when using @username, this view will diplay less than 100 documents.
Thanks again,
Scott
Subject: RE: R5 Server
In my experience when I accidentally used @UserName in a view col and it was access over the web the value displayed to users was the name of the user who opened the view just before the Index last refreshed. Ie. meaningless information.
Subject: @UserName and a View Column
Thank you all for the posts regarding @UserName in a view. I am aware of the results, but this works for me.I’m using a database to post results of a search collection, and display to a user. These results are deleted every time a new search is performed. The view index is recreated each time, so the current user name is used.
90% of the users are accessing locally, and the search results will not exceed 100 documents, so performance is still very fast.
Thanks again for the quick responses.
Have a great weekend,
Scott
www.cycom-inc.com
Subject: RE: @UserName and a View Column
Great attitude.
“It works now with limited documents and light use. Never mind doing it right, no need for that. Thanks.”
Subject: RE: @UserName and a View Column
And what would be the correct way to do this?