Sounds like a job for java.util.StringTokenizer. Working on Janet's design,
I would do something like this.

String strSearch = getDisplayFieldValue("tbYourSearchField").stingValue();
StringTokenizer parser = new StringTokenizer(strSearch);
while( parser.hasMoreTokens()) {
        String tmp = parser.nextToken();
        // add tmp to an array/vector of keywords
}

note: you may need to try/catch the while loop for NoSuchElementException

Then write a while loop - processing each element in your keyword
array/vector and assembling the sql string for your where clause. Pass it to
doX.addDynamicStrCriterion(...) and your done.

_________________________________________________________________________

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]

Reply via email to