Newbies Tom2008 Posted May 4, 2010 Newbies Share 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 Link to comment Share on other sites More sharing options...
RodSierra Posted May 4, 2010 Share Posted May 4, 2010 Setup a calculated text field using the Get(AccountName) function, place this field in your print layout. Link to comment Share on other sites More sharing options...
Newbies Tom2008 Posted May 4, 2010 Author Newbies Share 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 ? Link to comment Share on other sites More sharing options...
bcooney Posted May 4, 2010 Share 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 Link to comment Share on other sites More sharing options...
Newbies Tom2008 Posted May 5, 2010 Author Newbies Share Posted May 5, 2010 I do know the difference, but apparently not how to setup the field - hint ? Link to comment Share on other sites More sharing options...
Steven H. Blackwell Posted May 6, 2010 Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 5127 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