On Sep 25, 2008, at 9:28 AM, johnf wrote:

> This may sound crazy but how about turning it around.  Allow Dabo to  
> create
> the PK (using the internal auto increment stuff).  Then in your form  
> over
> ride the save() and in there change the PK at the very last moment.
>
> def save(self):
>  change the pk
>  self.super()
>
> I think that's how I handled the problem in the past.  However,  
> maybe the
> framework code has changed so much that it will no longer allow the  
> late
> setting.


        John, it's clearly a bug in the framework. I'd much rather fix it  
than encourage crazy workarounds. (Wow, this sounds like a recent  
ProFox thread!)

-- Ed Leafe





_______________________________________________
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