On Nov 22, 2008, at 8:29 PM, larry wrote:

> I got an exception closing a form, induced by the recent flushValue  
> mods.  The bizObj had no data set and I have a validation routine  
> which depends on a record existing. When the flushValue method got  
> fired, it induced a problem with an sql string that it was  
> building.   The validation has been working fine before.  I could go  
> ahead and add a test for no data in my validation routine, but does  
> it make sense to issue the flushValue, if there is no data set?
[snip]
> File "C:\pyproject\CropBizobj.py", line 377, in validateSpecies
>  self.tmpCursor.execute(theSQL)
> File "c:\dabo\dabo\db\dCursorMixin.py", line 326, in execute
>  raise dException.DBQueryException(e, sql)

        Looks like you cut off the traceback just before the actual error was  
shown. It's difficult to figure out what the problem is without it.


-- 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