Applying USERID filter on a form

Hi all,

I have a form on which I want to apply filters based on the current system userid.

My codes is as follows:

Form - OnOpenForm()

Sometimes it gives the entries of this particular login but sometimes it shows all entries made by all users.

When it shows all the entries, I close the NAV application and restart my activity and then it is ok.

Please help where am wrong.



Like Rashed told you on Mibuso that is probably a FILTERGROUP problem

Use Filtergroup