I have added a userid field to the comment line table so that I can store the userid of the user who added the comment.
I ammended the SetUpNewLine function however the USERID function does not return any value.
Any advice as to how I may acheive this would be much appreciated.
SetUpNewLine()
CommentLine.SETRANGE("Table Name","Table Name");
CommentLine.SETRANGE("No.","No.");
CommentLine.SETRANGE(Date,WORKDATE);
IF NOT CommentLine.FIND('-') THEN BEGIN
Date := WORKDATE;
UserID:=USERID;
END
0
Comments
I suggest changing the field to "User ID". Notice the blank space before ID.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
RIS Plus, LLC
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
"User ID" := USERID;
That's what we use too.
I just seems logical that this be standard.
I know you can Zoom, but why?
In fact we've added
Why look at the code when you can see the name O:)
Here's an easy one MS Forum Members!
http://www.BiloBeauty.com
http://www.autismspeaks.org