On Jun 20, 2006, at 1:03 PM, Ed Leafe wrote:

--- trunk/dabo/db/dCursorMixin.py       2006-06-20 16:34:57 UTC (rev 2228)
+++ trunk/dabo/db/dCursorMixin.py       2006-06-20 17:03:00 UTC (rev 2229)
@@ -373,6 +373,9 @@
                the data according to the request.
                """
                kf = self.KeyField
+               if not kf:
+                       return

Hmmm... by accident I committed an experimental version of dCursorMixin that has code added to handle cases where there is no PK defined for the table. I don't believe that this should cause any problems, but if it does, please let me know. And no, you cannot use tables without key fields yet; too many routines need to be updated, as they depend on these key values.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to