V4MD request

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Jun 21 19:40:20 CDT 2005


On 6/21/05 5:58 PM, "info at vallemediatime.com" <info at vallemediatime.com>
wrote:

> on updateGrid n
> sprite(n).SetRow(0, string(gHeaderList))
> recCount = value(member("recCount").text)
> sprite(n).rowCount = RecCount +1
> sprite(n).colCount = gHeaderList.count
> -- we fill the grid row by row
> repeat with i = 1 to RecCount
> fields = gCursor.getRecord(i)
> sprite(n).SetRow(i,string(fields))
> end repeat
> sprite(n).ColAutoSize()
> end
> 
> more simple and fast

Ah, you use here GetRecord() which returns a lits of values.

Then yes, Director is not so fast on calls to Xtra.
So the more calls the slower general work.
But this is problem of Director.

Then just go by SQL way. :-)

Btw, I think we can add similar method for Table

    Table.GetRecord()

-- 
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