Hi Tom,
I think you have to code that yourself, using
addDynamicStrCriterion; maybe
looping thru the "words" in the textbox and building
up a SQL WHERE clause something like:
doX.addDynamicStrCriterion("the_column LIKE '%" +
sKeyword1 +
"%' OR the_column LIKE '%" + sKeyword2 +
"%'"...);
Janet
> Please respond to "Tom Christ"
<[EMAIL PROTECTED]>
>
> To: [EMAIL PROTECTED]
> cc: (bcc: Janet Traub/IS/SSC/THD)
> Subject: [ND] keyword search (instead of 'phrase'
search)
>
> Is there a way to do basic keyword searches in ND?
For instance, I have a
> search page
> with a text box that is bound to a data field.
Right now if a user types in
> "smith
> printer", it will search for that phrase in the
field of all the records. I
> want it to
> search for records that have both words in it, not
necessarily right next to
> each
> other. Having multiple text boxes, one for each
keyword, would be very awkward
> and non-
> weblike.
>
> I am using ND 4.1.3 on NT server, using an MS Access
db.
>
> Thanks,
> Tom
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]