Forums / Setup & design / Where-clause

Where-clause

Author Message

Paal Are Solberg

Wednesday 17 September 2003 11:38:53 am

With fetch() I can return the objects in (say) a folder and display them nicely using custom templates.

But can I do an sql-like where-clause in a fetch (or in the display code), such that only objects with attribute values that meet certain conditions are returned (or displayed)... how would I do this?

If possible, I would like to set the selection (or display) criterion based on user selection (user input), how would I do this? ($view_parameters?)

Hope somebody can help witj this :)
regards,