I have a list of members that I want to schedule for certain duties. One 
table lists the people:

db.define_table(
    'members',
    Field('fullname', type='string', label='Name'),
    [...]
)

I select members from that table according to certain criteria, but I want 
to not select them if they are unavailable on a given date.

I have:

db.define_table(
    'unavailable',
    Field('the_date', type='date', label='Date'),
    Field('who', type='reference members', label='Name')
)

It is possible, given a date and the other selection criteria, to get a 
list of available members for the date in question?

-- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/4cfef017-598a-499e-9a2b-f4a407b26308%40googlegroups.com.

Reply via email to