filter editor, just values where author id = current id

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
alescotti73
User
Posts: 57

filter editor, just values where author id = current id

Post by alescotti73 »

In table settings > general > filter I used the filter editor in order to show this table records just when author id is the logged user (in this table on add there's a field where i store current user id, AKA the author)

so in the window of filter editor I tried this

"User_ID = . CurrentUserID() . "

which doesn't work

Can someone tell me the right syntax?


mobhar
User
Posts: 11660

Post by mobhar »

Assume your User_ID field type is numeric:

"User_ID = " . CurrentUserID()


alescotti73
User
Posts: 57

Post by alescotti73 »

it works thanx!


Post Reply