Filter Record

Hi

I have written below code to filter record according to user Location . Problem is when i click next button it displays one more record which i don't want. It should display only 1 record.

https://imgur.com/a/1eh46gp

IF UserSetup.GET(USERID) THEN
BEGIN
UserSetup.TESTFIELD("Location");
IF (UserMgt.GetUserInfo2(USERID) <> '' )THEN BEGIN
FILTERGROUP(2);
SETRANGE("No.",UserMgt.GetUserInfo2(USERID));
FILTERGROUP(0);
END;
END;



Thanks

Answers

Sign In or Register to comment.