Recently a comment from David M (not me) was posted on the Support Debugging Tool Portal (http://aka.ms/SDT) page asking:
"We have some fairly long names for our GP companies. Well, when logging onto GP, the second "Company Login" screen cuts off the company names too short for us. The entry field for companies allow for longer strings (65 Characters) but only displays 31 characters on the pull-down list. There is plenty of real estate on this window going unused. Can anyone think of a way to enhance/fix this to display more of the company name?"
So, I thought I would explain the difficulty in customising the Company Login window and suggest some solutions.
As David mentions in his comment, the Company Name field allows for 64 characters to be entered (shows as 65 at SQL Level), but the drop down list for selecting a company is only about 31 characters wide (depending on actual characters as it is a proportional font). So if company names only differ in the characters at the end, it makes selection very difficult.
What makes this window harder to work with is that it is accessed before the user has fully logged in (unless changing companies while already logged in). So why does that make a difference?
The simplest solution would be to use the Modifier to create a modified window with the fields wider. This requires a security setting changed using the Alternate Modified Forms and Reports ID to tell Microsoft Dynamics GP to use the modified version of the window. But as we are not logged in yet, the security system is not yet active as it needs both a User ID and a Company ID to work. So Modifier cannot be used.
The only methods to modify the window that will work will need to be script based.
The comment was posted on the Support Debugging Tool page because the SDT has been used to customise windows before. The best example of this being the SmartList Splitter as described in the post: Update: Resizing SmartList TreeView and ListView panes using the Support Debugging Tool. The problem with using the SDT, is that its Automatic Debugging Mode triggers are only enabled after Company Login is completed. So the SDT trigger scripts could not help with this situation.
There are a number of approaches we could use to resolve the issue of selecting a company when the Company Names are too long to be easily differentiated in the drop down list.
In the next blog articles in this series I will demonstrate each of these examples using Visual Basic for Applications, Dexterity and Visual Studio Tools for Microsoft Dynamics GP.
[Edit] Part 2 is now available Customising the Company Login window series Part 2 - Visual Basic for Applications.
21-Jul-2014: Added link to second article in the series.
Blog post from John Lowther at Microsoft Dynamics GP Administrator
PLEASE READ BEFORE POSTING
Please only post comments relating to the topic of this page.
If you wish to ask a technical question, please use the links in the links section (scroll down, on right hand side) to ask on the Newsgroups or Forums. If you ask on the Newsgroups or Forums, others in the community can respond and the answers are available for everyone in the future.