Hi, Annet

db.nieuws.publicatie_datum.month=request.now.month
db.nieuws.publicatie_datum.month==request.now.month

?

probably just your mistake in writing a post to web...@googlegroups..


-- 
Kuba



On Mon, Sep 28, 2009 at 9:36 AM, annet <[email protected]> wrote:
>
> In a function I have the following line of code:
>
> (db.nieuws.publicatie_datum<=request.now)&
> (db.nieuws.publicatie_datum>=minus_three_months(request.now)
>
>
> ... which works. Now I would like to only select this month's news
> items, I thought changing the selection to read like:
>
> (db.nieuws.publicatie_datum.month=request.now.month)
>
> ... would work, but it doesn't, why not?
>
>
> Kind regards,
>
> Annet.
> >
>

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

Reply via email to