On Feb 17, 2008, at 12:44 PM, johnf wrote:

> I did not use the forms next() because next() was not
> returning the records in the order I wanted.  For example on my  
> customer
> screen I wanted the next() button to return the next record in  
> alphabet
> order, and the purchase order screen to return the next PO in a  
> numeric way.
> Creating the instance causes a bizobj requery on my meta-data for  
> the form.
> Then when the user clicks on the next button  the Class
> sets  "setWhereClause" to the correct record.   And then a simple
> Form.requery() happens.


        So you make a round-trip to the database on each next()? Why not grab  
a set of data from the query, ordered the way you need it?

-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to