Hi,
I have declared a global variable [login] upon user successful login.
I have a grid application which contains multiple records but I only want the user to see only their own records based on the login.
In the grid application > under event “OnRecord”,
if({manager}==’[login]’){
sc_select(dataset, “select * from table1 where manager=’[login]’”);
}
The above code does not works. Can someone kindly advise? or is there actually a macro can be used to display records based on the field.