DesignViewFormFormula command in Lotus Notes!!!

I'm trying to using a diferent form for readers of a view I've created. I was using the 'help' feature to learn how to and I finally came across the answer... the DesignViewFormFormula command..... now the problem is, I don't know how to use it!!! Could some one please help me!!!

Thanx!!!
ReverenAsked:
Who is Participating?
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.

sk5tCommented:
Write a function that returns, as a string, the name of a form in the database you want to be used.  For example:

@If(
@IsMember("[Admin]";@Userroles); "AdminForm";
"UserForm";
);
0
Rainer_KeizerCommented:
The command you mention, DesignViewFormFormula, is not the one you're looking for here. It is only for displaying the Form Formula of a view that is in Design Mode. You will want to use the Form Formula itself.

What you should do is the following:
Go to the view properties, select the 'beanie' tab (the one with the propellorhead). You'll find the "Form formula" there, which can be used to use a different form for displaying data, depending on the formula you would enter there.

Put a formula in here that makes a selection based on a criterium which makes a difference between your readers and your 'other' users.

@If(
@IsMember("[ReadersRole]";@Userroles); "ReadersForm";
"OtherForm";
);

You would give your readers the userrole [ReadersRole] in this example, and, because they have this role, the "ReadersForm" would be used. Everyone else would see the data through the "OtherForm".

Good luck!
Rainer Keizer
0

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
ReverenAuthor Commented:
Thanx!!!

But I already figured it out... not the same way though!!!

0
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.