Page 1 of 1
Assigning user name to a field when saving
Posted: Wed Jul 15, 2009 5:12 pm
Is there any way I can fill this field automatically with the name of the person that was logged on that actually raised the job, rather than selecting from a list? Ie: if I’m logged on and add a job to service manager, can it automatically put my name in there? If not, I can live with that.
Posted: Wed Jul 15, 2009 5:15 pm
Make sure the field you add to your screen is set as an Editable List Item or Character field.
Inside Screen Builder, from the menu select File|Screen Script and then type:
Code: Select all
If Mode = 3
The above assumes you have called your field "USER". If it is called something else, change "USER" to whatever you have called it.
Using the above approach the user name will be assigned when the operator presses the Save button.