Thanks for the tips, but what I was trying to do was to bind the grid
directly to a temp cursor so I could issue requeries and not to mess up
grid/column info such as sorts and column order.

I got it to do most of what I wanted, so no worries with this issue.

Thanks,
Larry

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ed Leafe
Sent: Wednesday, December 19, 2007 9:16 AM
To: Dabo Users list
Subject: Re: [dabo-users] Binding a grid to a tempcursor

On Dec 19, 2007, at 12:26 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
wrote:

> Is this "doable"?
>
> self.mygrid.DataSource=self.LookupCursor
>
> where self.LookupCursor=self.Form.PrimaryBizobj.getTempCursor()
>
> It's not giving me any errors, and I have records in the tempcursor, 
> but the grid is empty.

        Try something like this:

grd = dabo.ui.dGrid(self)
grd.buildFromDataSource(self.LookupCursor)


-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




[excessive quoting removed by server]

_______________________________________________
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