2013-01-02 19 views
0

如何結束蓮花筆記中的記錄。如果蓮子筆記中的其他部分

示例。

@If(@Text(textbox1)="";@Failure("Please input your name");@Success);@command([filesave]) 
+0

右括號結束語句。它不需要任何其他東西。 –

回答

5

您可以通過使用@Return(「」)來結束公式語句的執行。

請閱讀作爲Lotus Notes和Domino Designer客戶端的一部分的文檔。在Lotus Notes數據目錄的幫助文件夾中查找幫助數據庫。

下面是返回:在線幫助:http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/index.jsp?topic=%2Fcom.ibm.designer.domino.main.doc%2FH_RETURN.html

下面是@If在線幫助:http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/index.jsp?topic=%2Fcom.ibm.designer.domino.main.doc%2FH_IF.html

3

您可以跳過AFAIK和@success試試這個:

@If(
    @Text(textbox1)=""; 
    @Failure("Please input your name"); 
    @command([filesave]) 
); 

另一種選擇是使用@do:

@If(
    @Text(textbox1)=""; 
    @Failure("Please input your name"); 
    @do(
     @success; 
     @command([filesave]) 
    ) 
); 
+0

感謝您的評論。 – LyodMichael

0

您可以通過一個簡單的提示更換失敗方法。

@If(
    @Text(textbox1)=""; 
    @prompt([OK],"Warning", "Please input your name"); 
    @command([filesave]) 
    );