This topic is locked

Filtering List Pages

12/29/2009 7:15:42 PM
PHPRunner General questions
R
RockyMtnHi author

Hi,

I'm using PHP Runner v5.1 and looking forward to 5.2.
I want to filter a list (and other pages) by a session variable. For example, I want to show customers on a page only for a specific company.
Is there an easy way to do this?
Thanks for the help.

L
lewisekrantz 12/30/2009



Hi,

I'm using PHP Runner v5.1 and looking forward to 5.2.
I want to filter a list (and other pages) by a session variable. For example, I want to show customers on a page only for a specific company.
Is there an easy way to do this?
Thanks for the help.


One way to do that would be to add a column to the Table you want specific customers to be able to see

Then your filter (statement) would be comparing the session(userid) to that column, if = display it,
The syntax in the above is not correct, I am just suggesting a way.
Another way is to actually link the records in the Security Tab where the Data Table is linked to the User Table