Formula lookup for large domains

If you have a large domain with hundreds of rooms and dozens of organizational units, this Formula lookup can help you perform a narrow search for a specific room in a certain OU. The code can be used on custom forms or when customizing your mail template for meetings.

VIEW MEMBER FEEDACK TO THIS TIP

If you have a large domain with hundreds of rooms and dozens of organizational units, this Formula lookup can help you perform a narrow search for a specific room in a certain OU. The code can be used on custom forms or when customizing your mail template for meetings.

xxReserve := @PickList( [Custom]:
[Single]; "<Replica ID>" ; "($Rooms)" ;
 "Please select the products you want to order" ;
 "Get a Room";2;"<OU Category>");
FIELD RoomToReserve := @Trim(@Unique(xxReserve));
@If( xxReserve = "";
 @SetField("RoomToReserve";xxReserve);
  @SetField("RoomToReserve"; 
@Trim(@Unique(xxReserve))));
@True
    

MEMBER FEEDBACK TO THIS TIP

Here, the trim and unique code only needs to be computed once:

xxReserve := @Trim(@Unique
(@PickList( [Custom]:[Single]; "
<Replica ID>" ; "($Rooms)" ; 
"Please select the products you want to order" ;
 "Get a Room";2;"<OU Category>")));
FIELD RoomToReserve := xxReserve;
@SetField("RoomToReserve";xxReserve);
@True

—Erika H.

Do you have comments on this tip? Let us know.


Related information from SearchDomino.com:

  • Learning Guide: Formula language
  • Reference Center: Formula tips and resources

    This tip was submitted to the SearchDomino.com tip library by member Larry Stover. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes, Domino, Workplace or WebSphere tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.

  • This was last published in November 2005

    Dig Deeper on Lotus Notes Domino Formula Language

    Start the conversation

    Send me notifications when other members comment.

    By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

    Please create a username to comment.

    -ADS BY GOOGLE

    SearchWindowsServer

    Search400

    • iSeries tutorials

      Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

    • V6R1 upgrade planning checklist

      When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

    • Connecting multiple iSeries systems through DDM

      Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

    SearchEnterpriseLinux

    SearchDataCenter

    SearchExchange

    SearchContentManagement

    Close