Hi,
I have a weird problem.
I'm trying to modify the OnLookup trigger of the UserID field of Table 5065 (Interaction Log Entry). It seems to be, if you have 'Windows Login' set up and you want to zoom into this field, you'll get a error message.
I'm trying to change the lookup trigger and have create my own code:
User ID - OnLookup()
//LoginMgt.LookupUserID("User ID");
IF User.GET("User ID") THEN;
Users.SETTABLEVIEW(User);
Users.SETRECORD(User);
Users.LOOKUPMODE(TRUE);
IF Users.RUNMODAL = ACTION::LookupOK THEN BEGIN
Users.GETRECORD(User);
VALIDATE("User ID",User."User ID");
//Returning value not returned?
END;
But it doesn't seem to update the record.
Any ideas?
PS: I even removed the 'LoginMgt' local var in this trigger, incase that might effect the issue.
Roelof.
0
Comments
If you run the table directly this can happen, but if you do it from the form, it works.
This is a bug that came up since version 3.7 (I think). Before this version I have never encountered the problem.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!