API seach and sort
Ruslan Zasukhin
sunshine at public.kherson.ua
Fri Jun 24 08:22:05 CDT 2005
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.
>> 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]
More information about the Valentina
mailing list