Lotus Software-Logo
IBM Lotus Domino Designer 8.5
  Versionen 8.5 und 8.5.1






Examples: @IsError

  1. This example returns 1.
  2. @IsError(1/0)
  3. This example returns 0.
  4. @IsError(1/2)
  5. This formula checks to see if there is an @ERROR in the Price field, and returns "There is an error in the price field" if it encounters an error; otherwise it returns 0.
  6. @If(@IsError(Price); 
    
    @Failure("There is an error in the price field"); @Success)
  7. This agent tests the return value of an @DbLookup statement for an error. If the @DbLookup statement causes an error, the agent returns the text "Not available."
  8. FIELD Phone := @DbLookup(""; "Snapper" : "names.nsf"; "People";
    
    @Right(Name; " ") + " , " + @Left(Name; " "); "OfficePhoneNumber");
    @If(@IsError(Phone);"Not available")
Siehe auch
@IsError




Bibliothek | Unterstützung | Nutzungsbedingungen |

Letzte Aktualisierung: Montag, 5. Oktober 2009