|
Question : Lotus Notes Designer 6.5 Field
|
|
Hi,
All the while this field (use view dialog box for choices) and here is default formula for that view : SELECT (FORM = "fOT" | FORM = "fOTAdmin") & OT_AppStatus = "Approve" & OT_IND != "Applied" & OT_Active = "" & (@Name([Abbreviate];OT_Requester) = @Name([Abbreviate];@UserName))
Anyway it was working fine with no problem at all for the past 6 months, suddenly it displays blank for some users, but the view is working fine if to run by itself. Please help.
Thank you
|
Answer : Lotus Notes Designer 6.5 Field
|
|
My guess is that you are letting users type names into an editable field.
When you allow this, the user can type the name any way they want. For example, they could enter my name as any of the following...
Bill Hanson bill hanson Bill Hanson/Organization bill hanson/organization
My abbreviated user name (using @Name([Abbreviate];@UserName)) is "Bill Hanson/Organization". But if the user typed in "bill hanson/organization", comparing the values directly won't work because text-compare operations are case-sensitive in @Formula language. Converting both values to lower case before comparing them ensures that we are ignoring the case of the characters.
In general, you should not let users type in a user name. Make them select it from an address book (they like this better anyway). Furthermore, you should validate the selected name against your company's address book(s) to make sure that the user did not select a name from a personal address book.
|
|
|
|