Solved

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

Posted on 2008-10-27
3
515 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

919 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now