johnf wrote:
> On Wednesday 24 September 2008 09:18:32 am Sibylle Koczian wrote:
>> After thinking about it some more: _should_ it be corrected? Or wouldn't it
>> be quite acceptable if manually constructed PKs could only be assigned by
>> some workaround (like entering them in a textbox without data binding and
>> assigning them to the right database field by code)? Because it certainly
>> is and should be a non standard practice. But I haven't tried this out and
>> at the moment I don't really know how to code such a workaround
>
> Sure in the beforeSave() or at some proper place in your code
> self.BizObj.setFieldVal("fieldName", value)
And I'll reiterate again that I do this all the time, by using
biz.DefaultValues["pk"] = myFunc. It works without any special workaround.
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]