Filter By Username
Posted: Tue Feb 06, 2018 5:08 am
Please help I need to filter a table list by current username. I tried from filter EJ
"usuario = CurrentUserName()" and dont work. Please help me.
and Sorry about my english
Please help I need to filter a table list by current username. I tried from filter EJ
"usuario = CurrentUserName()" and dont work. Please help me.
and Sorry about my english
The filter is incorrect. It should evaluate to a proper SQL statement. Try something like:
"<UserNameField> = '" + AdjustSql(CurrentUserName(), Config.UserTableDbId) + "'"
thanks for your tips i do something like this from code, but i like to do from the aspnet maker.
You can always add your codes in the Server Events. Read help file topic: Server Events and Client Scripts for more details.