Greetings to the Forum,
I need to filter a table on the basis of the user connected to the database. Obviously in the table there is a field where the value of the current user has previously been stored. therefore in the property, in correspondence of the filter, of the table I would put the following description:
"user_ID
= ... ".
Thank you
Filter on table with CurrentUserName()
-
- User
- Posts: 64
Filter on table with CurrentUserName()
-
- User
- Posts: 64
First of all thank you.
Your suggestion works but I would like to know how I can replace the static comparison value (user_LAG) with the value of the current user.
// Recordset Selecting event
function Recordset_Selecting(&$filter) {
ew_AddFilter($filter, "utente_ID = 'user_LAG''");
// Enter your code here
}
Thanks