May 4, 201015 yr Newbies Several people printing different forms.I want to be able to see who printed a specific form. Ideally I would like to be able to place in the form layout a field that corresponnds to the user that is loggen into the FM application. e.g. If John logs in with his Account Name and password - whichever form he prints, his name will show up at the bottom of that form, if someone else prints the same form, their name will show at bottom of the form
May 4, 201015 yr Setup a calculated text field using the Get(AccountName) function, place this field in your print layout.
May 4, 201015 yr Author Newbies Whatever I tried it seems that the only user name placed in the form field that I defined is the User Name that is in the General Preferences field probably mis-defined the field ?
May 4, 201015 yr Sounds like you have Get (UserName) and Get (AccountName) confused. Get (UserName) is the name in FM>Prefs. Totally useless. Get (AccountName) is the account that was used to login to the file. If you'd rather have a more user-friendly name, then build a Users table that has their Account Name in a field. Find in that table in an Open Script and set all sorts of info to globals. For example, I set gStaffID, gUserNameFull, etc. Edited May 4, 201015 yr by Guest
May 5, 201015 yr Author Newbies I do know the difference, but apparently not how to setup the field - hint ?
May 6, 201015 yr The Get(AccountName) function returns the name of the Account that accessed the file. Placing this into an unstored calculation field will provide the information. HTH Steven
Create an account or sign in to comment