Newbies Tom2008 Posted May 4, 2010 Newbies Posted May 4, 2010 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
RodSierra Posted May 4, 2010 Posted May 4, 2010 Setup a calculated text field using the Get(AccountName) function, place this field in your print layout.
Newbies Tom2008 Posted May 4, 2010 Author Newbies Posted May 4, 2010 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 ?
bcooney Posted May 4, 2010 Posted May 4, 2010 (edited) 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, 2010 by Guest
Newbies Tom2008 Posted May 5, 2010 Author Newbies Posted May 5, 2010 I do know the difference, but apparently not how to setup the field - hint ?
Steven H. Blackwell Posted May 6, 2010 Posted May 6, 2010 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
Recommended Posts
This topic is 5313 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now