API seach and sort

info at vallemediatime.com info at vallemediatime.com
Thu Jun 23 17:57:25 CDT 2005


Hi Ruslan,
I want find a born year of my Students and I want show a sort result table,
in SQL is easy, but in API is more difficult... for me.
This is my attempt:

table = gDb.table(gTableName)
setAll = table.selectAllRecords()
rs = table.field("F8").findValue(searchString)
sortedSet = table.sort( setAll, rs.field("F8"), #kAsc )
showResultGrid(rs, table)

Thank for all your many help.
Paolo



More information about the Valentina mailing list