Ed Leafe <[EMAIL PROTECTED]> writes:
>       After thinking about it, I decided to update the dabo.ui.browse()  
> command to accept all the parameters that buildFromDataSet() offers,  

Ed, i tested the colOrder argument and it works. Thanks. Can this browse
function display cells with multi-line text strings? in my database, there are
cells like that, and now only the first line is displayed. i tried something
like this and didn't make a difference.

frm, grd = dabo.ui.browse(cur, colOrder = dict(zip(caps, range(len(caps)))))
import wx
grd.GridCellTextEditor = wx.grid.GridCellAutoWrapStringEditor

how to i get all the records for a DaboCursor. apparently this doesn't work:

conn = dabo.db.dConnection(ci)
cur = conn.getDaboCursor()
cur.execute(options.sql)
for row in cur.fetchall():
    print row

but this does work:
conn = dabo.db.dConnection(ci)
cur = conn.getConnection().cursor()
cur .execute(options.sql)
for row in cur.fetchall():
    print row

i guess this shows DaboCursor is different from cursor. thanks for help.




_______________________________________________
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