Thanks for taking the time to look at this problem.
len(dx.executesql('SELECT * from fields'))
gave 43815, ie the correct answer.
I finally realized it was because the anki application for some reason
had a negative id about 1/3 of the records.
I was just using the default query dx.fields.id > 0, which filtered
these out. It had nothing to do the the empty value field.
Thanks for sorting this out for me. I enjoy using web2py.
Regards
Peter Etchells
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.