Filter By Username

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
sebastian_barbosa
User
Posts: 4

Filter By Username

Post by sebastian_barbosa »

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


Webmaster
User
Posts: 9425

Post by Webmaster »

The filter is incorrect. It should evaluate to a proper SQL statement. Try something like:

"<UserNameField> = '" + AdjustSql(CurrentUserName(), Config.UserTableDbId) + "'"


sebastian_barbosa
User
Posts: 4

Post by sebastian_barbosa »

thanks for your tips i do something like this from code, but i like to do from the aspnet maker.


Webmaster
User
Posts: 9425

Post by Webmaster »

You can always add your codes in the Server Events. Read help file topic: Server Events and Client Scripts for more details.


Post Reply