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.
To resolve this problem, follow these steps:
- 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:
Microsoft Dynamics CRM 4.0 updates and hotfixes
- Add the following code after the SetFocus() function:
For example, add the code as follows:
event.returnValue=false; // Add this line
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
For more information about
software update terminology, click the following article number to view the
article in the Microsoft Knowledge Base:
Description of the standard terminology that is used to describe Microsoft software updates
Microsoft Business Solutions CRM software hotfix and update package naming standards