DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 953291 - Last Review: January 20, 2012 - Revision: 4.2

Hotfix Download Available
View and request hotfix downloads
 

SYMPTOMS

When you try to retain focus in a CRM form field in Microsoft Dynamics CRM 4.0 by using the SetFocus() function from the Microsoft Dynamics CRM Software Development Kit (SDK), the focus to the field is lost.

RESOLUTION

To resolve this problem, follow these steps:
  1. Apply the latest cumulative update rollup for Microsoft Dynamics CRM 4.0. For more information about the rollup, click the following article number to view the article in the Microsoft Knowledge Base:
    949256  (http://support.microsoft.com/kb/949256/ ) Microsoft Dynamics CRM 4.0 updates and hotfixes
  2. Add the following code after the SetFocus() function:
    event.returnValue=false;
    For example, add the code as follows:
    crmForm.all.fieldname.SetFocus();
    event.returnValue=false; // Add this line
    

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://support.microsoft.com/kb/824684/LN/ ) Description of the standard terminology that is used to describe Microsoft software updates
887283  (http://support.microsoft.com/kb/887283/ ) Microsoft Business Solutions CRM software hotfix and update package naming standards

APPLIES TO
  • Microsoft Dynamics CRM 4.0
Keywords: 
kbexpertiseinter kbautohotfix kbmbsmigrate kbqfe kbhotfixserver KB953291
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support