>
>        Yes, since if you look at the definition for Keys, the values are
> strings:
>
> Keys="[u'0', u'DC', u'DEX']"
>
>         You should change your test to compare with "0".
>
>        Another (unrelated) suggestion: don't use reserved words such as
> 'type' as column names (or any other names, for that matter). It can cause
> all sorts of hard-to-detect bugs.
>
>
> -- Ed Leafe
>

Thanks Ed. I'll add the quotes. And thanks for the reserved words pointer.
The apps is early development so I can easily change the field name.

-- Carey


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
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