V4MD API search in two fields of same table
Ruslan Zasukhin
sunshine at public.kherson.ua
Fri Sep 2 12:56:42 CDT 2005
On 9/2/05 12:47 PM, "Igor Gomon" <giv at tlc.kherson.ua> wrote:
> Hi Paolo,
>
>> in API is possible to search like this pseudo script?
>>
>> rs = gTable.field(clickedCol).findValue(searchString) AND
>> gTable.field(otherCol).findValue(otherString)
> You should write something like this:
>
> rs = gTable.field(clickedCol).findValue(searchString);
> rs = gTable.field(otherCol).findValue(otherString, rs)
In case you will need OR then
rs1 = gTable.field(clickedCol).findValue(searchString);
rs2 = gTable.field(otherCol).findValue(otherString)
rs3 = rs1.Union( rs2 )
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina-beta
mailing list