The SetFocus function does not appear to work as expected in Microsoft CRM

Article translations Article translations
Article ID: 918477
Expand all | Collapse all

Symptoms

When you use the SetFocus function in the onChange event of a lookup field in Microsoft Dynamics CRM, the function does not appear to work as expected.

For example, this problem may occur when the following code is added to the onChange event of the Parent Account field on the Account form:
crmForm.all.websiteurl.SetFocus();
This code should force the focus to the Web site field on the form whenever the value of the Parent Account field is changed. However, when the code is run, the focus remains on the Parent Account field.

Cause

This problem occurs because Microsoft CRM overrides the SetFocus function.

Resolution

This problem is fixed in Microsoft Dynamics CRM 3.0 Update Rollup 1. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
922815 Update Rollup 1 is available for Microsoft Dynamics CRM 3.0
This problem is fixed in Update Rollup 1 for the Chinese Simplified version of Microsoft Dynamics 3.0 and for the Japanese version of Microsoft Dynamics CRM 3.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935730 Update Rollup 1 for the Chinese Simplified version of Microsoft Dynamics CRM 3.0 and for the Japanese version of Microsoft Dynamics CRM 3.0 is available

More information

For more information about the terminology that is used to describe Microsoft software updates, click the following article numbers to view the articles in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
887283 Microsoft Business Solutions CRM software hotfix and update package naming standards

Properties

Article ID: 918477 - Last Review: June 20, 2014 - Revision: 5.0
Keywords: 
kbfix kbbug kbmbscustomization kbhotfixserver kbqfe kbmbsmigrate KB918477

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com