Joe_Schmo Posted October 3, 2011 Share Posted October 3, 2011 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. Link to comment Share on other sites More sharing options...
efen Posted October 3, 2011 Share Posted October 3, 2011 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. Link to comment Share on other sites More sharing options...
Joe_Schmo Posted October 3, 2011 Author Share Posted October 3, 2011 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. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 4595 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