On 8/18/12 9:17 AM, Dave Kelly wrote:
> ValueError: Trying to set dDropdownList.Value (DataSource:
> 'public.employees', DataField: 'department') to these invalid selections:
> [u'']
> 
>  
> 
> It seems to be choking on a blank department control.  I created another
> form with the same bizObjs and fields except I used a textbox for the
> department.  That worked fine for adding a new record.
> 
> Any ideas?

Yes, it is working as it should. :)

The simplest thing to do would be to edit your employees bizobj and set a 
default
department for new employees to a valid department so it doesn't default to ''.

Paul
_______________________________________________
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/[email protected]

Reply via email to