so
record = thesingle_record_from_the_table
for f in db.table.fields:
if record[f] is None:
db.table[f].readable = False
On Monday, October 17, 2016 at 9:18:49 PM UTC+2, Alex Glaros wrote:
>
> I left this part out. Should only be one record.
>
> specificAddressID = db(db.Address.super_object_fk ==
> specificSuperObjectID).select(db.Address.id,limitby = (0,1)).first().id
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.