I'm using a function to get the name of the logged on user and am storing it in a textbox called USER. The form name is frmMain, the recordsource is qryMain, the field in the query that should be filtered is qryMain.requestor. I would like the form to filter the data by the value that comes up in the user field.
Meaning that the person who opens the form is taken to their records only, and can navigate through their records only.
I was trying on Form open event
me.filter = [requestor] = me.user & " "
me.filteron = true
Can't seem to fget it to work
Thanks
Meaning that the person who opens the form is taken to their records only, and can navigate through their records only.
I was trying on Form open event
me.filter = [requestor] = me.user & " "
me.filteron = true
Can't seem to fget it to work
Thanks