V4M - creation of cursor

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Jun 18 21:54:16 CDT 2005


On 6/18/05 7:04 PM, "info at vallemediatime.com" <info at vallemediatime.com>
wrote:

Hi Paolo,

> Hi Ruslan
> I've found the problem.

Good.

> It's in the second part of code where I build a propList for have a tandem
> navigation RecID-RecPos.
> If I comment the second part the navigation works, but I will check why in
> V2.0.2 this work also.
> I look for getColumn but seems correctly...
> any other idea?
> Thanks Paolo

Have you check GetColumn result? It is the same as in 2.0.2
 
> [code]
> on populate
> getRecCount()
> repeat with i = 1 to gFieldNumber
> member(gFieldPrefix &"F" & i).text = string(gCursor.field(gFieldPrefix & "F"
> & i).value)
> end repeat
> 
> -- SECOND PART
> -- Build a ID list
> lRecID = []
> lRecID = gCursor.getColumn("RecID")
> 
> -- Build a plist with (Pos + ID)
> 
> max = lRecID.count
> gLposID = [:]
> repeat with i = 1 to max
> gLposID.addProp(i, getAt(lRecID, i))
> end repeat
> end

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