October 3, 201114 yr I'm trying to set up a field in the header of a layout that displays the current account name. I've tried it by creating a field in the table that the layout is for and setting it to calculate 'Get (AccountName)' and I've also tried just setting it to Auto-enter and checked 'modification' then selected account name from the dropdown. Either way, the value displayed in the browse mode doesn't get updated until the current user has modified a field or changed views. Is there a way to make the displayed name refresh the instant a new user logs in? Right now, I can switch users but the value shown in the field makes it seem like I'm still logged in as the last user, until I modify a field or change views/modes.
October 3, 201114 yr Is the field that you have created for the username a global field? Add a step in your relogin script to set the account name into the global field. Or you could use a global merge variable on the layout.
October 3, 201114 yr Author thanks efen. I was able to get it working with a button/script that prompted the login then inserted the Account name into the field. I was using the button action "re-login" but that didn't modify the record. The script with the extra step to write the value "Get (AccountName)" into the field did the trick though.
Create an account or sign in to comment