On Apr 3, 2007, at 8:40 PM, <[EMAIL PROTECTED]> wrote:
> If the pkid were a character, I would expect it to be pkid <> "-1-
> dabotmp".
> Apparently something is stripping the quotes and the system is
> assuming that
> dabotmp is a variable value and erroring when trying to resolve it.
No, the database adapter is aware that pkid is an integer, and is
formatting it appropriately.
The problem is that the temp PK should never have reached this
stage. It should be None, not a string value. The changes that I've
posted over the past few days have been focused on making sure that
when there is a temp PK in the parent, the child gets None, not a
bogus string PK when the parent record is a new, unsaved record. I'm
in the middle of testing this based on the structures that John sent
me; I should have more info tomorrow morning.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
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/dabo-users/[EMAIL PROTECTED]