On Thursday 25 September 2008 07:38:00 am Ed Leafe wrote: > 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
To be perfectly honest I just wanted to know if it would work without doing the work (writing the code). I recall that I had to do something like that in the past - but I can't find the code. ;-) I guess I changed it later to use real PK's. -- John Fabiani _______________________________________________ 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]
