×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

UserId

UserId

(OP)
I am trying to create a view that filters all the records that were not created by the current Lotus user.  I have a field in the form called originator that has the format FirstName LastName.  The view selection I am using in the view is the following:
SELECT Form = "GRIPSINFILING" & originator = @Name([CN]; @UserName)

The problem seems to be that the @Username is not giving a consistent value.  Now I can to this:
SELECT Form = "GRIPSINFILING" & originator = "MyFirst MySecond" and it works but with the formula it does not.

I've tried trimming converting both to uppecase and a whole host of other things.

It seems that this type of filter should be pretty basic.  Does anybody now how to do this?

Thank you in advance

Jeff Sulman

RE: UserId

What if someone has a middle initial?  Why not just store "@Name([CN]; @UserName)" in the originator field?

Leslie

Anything worth doing is a lot more difficult than it's worth - Unknown Induhvidual

RE: UserId

User-name-based filtering cannot work in shared views. You must use a shared/private on first use view.
As Leslie pointed out, it is best to use the user's canonical name to do the select, even if you display another format of it.

Pascal.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close