API seach and sort

info at vallemediatime.com info at vallemediatime.com
Fri Jun 24 08:57:29 CDT 2005


Hi Ruslan,

----- Original Message ----- 
From: "Ruslan Zasukhin" <sunshine at public.kherson.ua>
To: <valentina at lists.macserve.net>
Sent: Friday, June 24, 2005 7:22 AM
Subject: Re: API seach and sort


> On 6/24/05 1:53 AM, "info at vallemediatime.com" <info at vallemediatime.com>
> wrote:
> 
> >> Should be as
> >> 
> >> table = gDb.table(gTableName)
> >> 
> >>     rs = table.field("F8").findValue(searchString)  -- this is SET
> >>     sortedSet = table.sort( rs, table.field("F8") )
> >> 
> >> showResultGrid(rs, table)
> > 
> > I've tried but don't works.
> > I get a Director script error: "Object expected"
> > the object is into a miaw and this is more difficult to debug.
> > 
> > With simple:
> > rs = table.field("sF8").findValue(searchString)
> > showResultGrid(rs, table)
> > 
> > I don't get error, strange!
> 
> Sounds like Sort() cause problems.
> Ahhhhhhhhh
> 
> >> showResultGrid(rs, table)
> 
> Must be 
> 
>   showResultGrid(SortedSet, table)
> 
> We must show new sorted set.
ok, but this correction not working also.
I get always the same error "Object expected"
Paolo


>  
> >> Btw, in fc9 Igor have add
> >>     VTable.GetRecord() function.
> > Are you sure? in the Mantis seems only assigned but not resolve.
> 
> yes
> 
> > If  it'is resolved can you send me the code for try it?
> 
> Usage is THE SAME as for cursor
> 
>   fields = table.GetRecord()
> 
> > The new function is not documented I think.
> 
> -- 
> 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