Solved

Database.search in a webservice (domino designer): need a reference

Posted on 2008-10-27
3
523 Views
Last Modified: 2013-12-18
I'm writing webservice and i need a reference on how to build a search string in domino designer. I'm doing it in java.

As an exemple, i got that one works,

DocColl=ContactDB.search("Form=\"Contact\" & LastName=\""+LastName+"\"", null, 0);

ContactDB is a Database
DocColl is a DocumentCollection
LastName is a string parameter.

So I want more detail on how it work, ex how could i get all the ones that sart with a "A"
(the TSQL equivalent to " like 'A%' ")
 

      
0
Comment
Question by:David Robitaille
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 500 total points
ID: 22817174
There are many functions in the formula language. The string you have to build for searching all docs with lastname like A% would be

Form="Contact" & @Left(LastName; 1)="A"

There are too many functions, so you'd better look 'em up in the Domino Designer Help database.
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 22817206
0
 
LVL 18

Author Closing Comment

by:David Robitaille
ID: 31510515
Thanks!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question