lotus-formula

how to call and sort data in a view?

我与影子孤独终老i 提交于 2019-12-11 10:37:03
问题 I have two view, one is sorting 2011 data and the other one is sorting the 2012, 2013 is coming and I think, create another view is not good. Then I tried to code a formula to call the data in my database and send to view but it's not working . please help me :) 回答1: I think your best option is to create another view. Notes doesn't do well with dynamic view selection formulas. Another alternative to consider is to use categories to group data by year. You could then set up an embedded view

Lotus Notes : How to Remove a value and replace a new value

我的未来我决定 提交于 2019-12-11 06:28:28
问题 My Question : How to Remove a value and replace a new value My Field value inside InvGSTSummary : Value 1: "- 0%,19291.76,0.00" "SE 0%,1068.39,0.00" "ST 6%,2000.00,120.00" The order of the Text List might change everytime, Value 2: "SE 0%,1068.39,0.00" "- 0%,19291.76,0.00" "ST 6%,2000.00,120.00" Sample formula i write for testing as below : InvGSTSumCode = @Word(InvGSTSummary; ","; 1) The question is May i know how to take the First 2 character is "SE" to amend the last 3 value become by

Referencing parent field on document creation

瘦欲@ 提交于 2019-12-11 06:25:15
问题 I have a form called ProductFamily . It has a field called ProductFamilyMBValues which is a list of strings. I've got a response document using a form called Item , which is always a response of a document using the above form. The Item form has a dialoglist field ItemMakeBuy that has the validation formula @If(@Length(ItemMakeBuy) = 0;@Failure("You must choose a Make or Buy value");@Success) The choices for that field is a formula: @IfError(@GetDocField($ref;"ProductFamilyMBValues");"?") .

Lotus Notes custom view received mail

拥有回忆 提交于 2019-12-10 20:35:51
问题 I am using lotus notes 8.5.2 on windows 7. I would like to create a custom view that shows all emails EXCEPT sent mail. In other words it contains: INBOX & ALL FOLDERS. Currently my ALL DOCUMENTS view has the following formula conditions: SELECT @IsNotMember("A"; ExcludeFromView) & IsMailStationery != 1 & Form != "Group" & Form != "Person" The SENT view has the conditions: SELECT DeliveredDate = "" & PostedDate != "" & !(@IsMember("S"; ExcludeFromView)) My thinking is that I should be able to

Perform division of a 22 digit number in lotus script

老子叫甜甜 提交于 2019-12-08 04:34:44
问题 I want to perform division of a 22 digit no. in lotus script. Can anyone please tell me how to do it? I am not getting the correct result. For e.g; dim num as Double; dim num1 as Double; num=123456789989898976765; num1 = num / 97; but i am not getting the correct result in num1. 回答1: To satisfy the mathematician in me, I have to tell you that you're never going to get the "correct" answer, the division produces a number that has an infinite decimal, but I get what you're after, I think. The

Create Lotus Notes hotkey/shortcut key for “reply to all with history”

自古美人都是妖i 提交于 2019-12-07 16:21:18
问题 Because I like to make common actions quick to access, I'd like to define a hotkey, e.g. Alt+L to do "reply to all with history", to act on the selected email. I'm using Lotus Notes 8.5 under Windows. Currently I have to either click the Reply button and then click "Reply to All with History Only" or I have to press Alt+3 then cursor down several times and press enter. Actually, Alt+3 doesn't always work because if the email is opened in its own window then you have to use Alt+2. I've pursued

How do I select all documents from the last 7 days?

自古美人都是妖i 提交于 2019-12-07 07:31:08
问题 I have a view selection formula SELECT @If( @Date(@Now) = @Date(@Created); @All; @False) and I want it to select all documents from the past 7 days rather than just today's. 回答1: SELECT @If( @Date(@Now) < @Date(@Adjust(@Created(), null, null, 7, null, null, null)); @All; @False) 回答2: You need 2 parts. The view selection formula: SELECT isnotyet7daysOld = @True and an agent (or two) which run on schedule and on "when documents have been created or changed". The agent looks like this (both)

Perform division of a 22 digit number in lotus script

白昼怎懂夜的黑 提交于 2019-12-06 15:40:19
I want to perform division of a 22 digit no. in lotus script. Can anyone please tell me how to do it? I am not getting the correct result. For e.g; dim num as Double; dim num1 as Double; num=123456789989898976765; num1 = num / 97; but i am not getting the correct result in num1. To satisfy the mathematician in me, I have to tell you that you're never going to get the "correct" answer, the division produces a number that has an infinite decimal, but I get what you're after, I think. The number you want is: 1 272 750 412 266 999 760.463 917 525 ... but the number you're getting is: 1 272 750 412

How do I select all documents from the last 7 days?

北慕城南 提交于 2019-12-05 18:51:47
I have a view selection formula SELECT @If( @Date(@Now) = @Date(@Created); @All; @False) and I want it to select all documents from the past 7 days rather than just today's. Nick Fortescue SELECT @If( @Date(@Now) < @Date(@Adjust(@Created(), null, null, 7, null, null, null)); @All; @False) You need 2 parts. The view selection formula: SELECT isnotyet7daysOld = @True and an agent (or two) which run on schedule and on "when documents have been created or changed". The agent looks like this (both) minDate := @Adjust(@Today;0;0;-7;0;0;0); REM "There are no future documents"; tmpResult := @if

@ReplaceSubstring doesn't display value as expected

为君一笑 提交于 2019-12-02 14:23:22
问题 I have this formula in one of the columns in my view in Lotus notes database. However, it does not change the value of the field "EmployeeName" in the view and still displays the original name. Example: Original value : Franco Martínez, José Ramó Expected output : Franco Martinez, Jose Ramo value1:="i"; value2:="e"; value3:="o"; optionList := value1:value2:value3; aliasList := "í":"é":"ó"; @ReplaceSubstring(@Text(EmployeeName); aliasList; optionList) 回答1: As the formula is absolutely correct,