API search

info at vallemediatime.com info at vallemediatime.com
Thu Jun 23 18:18:09 CDT 2005


Hi Ruslan,

----- Original Message -----
From: "Ruslan Zasukhin" <sunshine at public.kherson.ua>
To: <valentina at lists.macserve.net>; <valentina-beta at lists.macserve.net>
Sent: Thursday, June 23, 2005 8:26 AM
Subject: Re: API search


> On 6/23/05 12:30 AM, "info at vallemediatime.com" <info at vallemediatime.com>
> wrote:
>
> Hi Paolo,
>
> > I've tried:
> > table = gDb.table(gTableName)
> > rs = table.field(clickedCol).findValue(searchString)
> > -- this works with clickedCol =  "F1"
> >
> > If I want try to search in all field of table:
> > rs = table.field().findValue(searchString)
>
> What means in all ?
> In all 10 fields of table ?!
Yes

> Database do not work in this way.
>
> Well, I have see that people use Method for this
>
>     fldAllFields = "concat(f1, ' ', f2, ' ', f3, ' ', f4, ' ', f5)"
Ok now I can try it, and I hope for the assigned Igor example.
>
> > I've read in your docs "if in selection is nil(?) then it searches in
all
> > records of the table but this don't works, where is my mistake?
>
> This means ALL records by field F1.
ok

> If you specify some selection then this will be
>     search by SOME records of F1.
Now I've better understand, thanks
Paolo

> --
> 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]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.323 / Virus Database: 267.7.8/22 - Release Date: 17/06/2005
>
>



More information about the Valentina mailing list