Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


Cause

This problem occurs because Microsoft CRM overrides the SetFocus function.

↑ Back to the top


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

↑ Back to the top


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

↑ Back to the top


Keywords: KB918477, kbmbsmigrate, kbqfe, kbhotfixserver, kbmbscustomization, kbbug, kbfix

↑ Back to the top

Article Info
Article ID : 918477
Revision : 5
Created on : 8/8/2007
Published on : 8/8/2007
Exists online : False
Views : 313