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
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
Leslie
Anything worth doing is a lot more difficult than it's worth - Unknown Induhvidual
RE: UserId
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.