This is just a general question, but since many of us are working on
display screens for large lists, I thought I'd seek the sage advice
here ;)

Since Torque has no cursors (except for mssql?), how do you handle
paging through long lists of query results?

The best answer I can find is

    getSelectResults(com.workingdogs.village.QueryDataSet qds, int
    start, int numberOfResults, boolean singleRecord) 

    Returns numberOfResults records in a QueryDataSet as a Vector of
    Record objects.

but it's not clear (a) how I get a qds from a TablePeer (b) whether
the qds has moved the entire list across the network and into temp
storage or if it only retrieves the range of records specified in this
call or (c) how I get from a vector of Record objects to a vector of
Table objects.

-- 
Gary Lawrence Murphy <[EMAIL PROTECTED]> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless.  They can only give you answers."(Pablo Picasso)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to