V4MD help for sort a rs into a table

info at vallemediatime.com info at vallemediatime.com
Thu Sep 8 12:56:55 CDT 2005


Hi Ruslan,
i need your help for work with this API "find and sort" script that get me
always the sortedSet of gTable and not the sortedSet of rs. Where I made
mistake?
Thanks
Paolo

on sortByColAZ
gTable = gDB.Table(gTableName)
rs = gTable.selectAllRecords()
rs = gTable.field("angF30").findValue("1", rs)
clickedCol = gFieldPrefix & "F" & member("dColNum").text
if member("dColNum").text <> "0" then
sortedSet = gTable.sort( rs, gTable.field(clickedCol), #kAsc )
tableData = ProduceTableData(#201, sortedSet, gTable)
end if
end



More information about the Valentina mailing list