Re: [dabo-users] Sorting in the grid

Author: Paul McNett

Posted: 2009-09-09 at 23:30:45

Ricardo Aráoz wrote:

> Ed Leafe wrote:

>> On Sep 9, 2009, at 8:40 PM, Paul McNett wrote:

>>

>>

>>> I guess Dabo could do that easily enough, if it wasn't added

>>> explicitly. Might be a

>>> nice addition.

>>>

>> Is this a DataNav app? Adding the PK field is done automatically when

>> you add controls using the data environment wizard.

>>

>>

> No, it is not. Created the form with the Class Designer but wrote the

> bizobj myself. I copied the bizobj from a form with controls added via

> the data environment wizard, so that's why I didn't have the primary key

> added as a field.

I was thinking that at the time of requery, if biz.KeyField isn't present in the sql

fields clause, we could add it automatically.

Paul

©2009 Paul McNett