On Tuesday 19 August 2008 10:43:21 am Paul McNett wrote:
> Ed Leafe wrote:
> > On Aug 19, 2008, at 1:30 PM, johnf wrote:
> >> Doesn't it make sense that a list type control should be able to use a
> >> dataset? Often the control is associated with data retrieved from a
> >> table.
> >> But the data retrieved must be massaged. Just a thought I had.
> >
> > You'd still have to determine what column in the dataset was the key;
> > what column(s) should be displayed. Where would the 'savings' be?
>
> The boilerplate code for setting Keys and Choices that appdev code must
> write, probably by requerying and iterating a bizobj, would now be part
> of the framework, so appdev code need only set a handful of properties.
>
> Paul
Being my own devils advocate what happens when a record gets deleted from the
look up list and the underlying data is no longer in the list. You get
("String must be present in the choices.")
I.e.
I have a save customer with zip "95776"
I delete the record for "95776"
When the record is displayed I'll get ("String must be present in the
choices.")
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]