Microsoft KB Archive/918477

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

Article ID: 918477

Article Last Modified on 8/8/2007

-

APPLIES TO


 * Microsoft Dynamics CRM 3.0

-



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

Additional query words: crm3 crm30 crm3.0

Keywords: kbfix kbbug kbmbscustomization kbhotfixserver kbqfe kbmbsmigrate kbpubtypekc KB918477

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.