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 SETFILTER in the OnOpenPage that uses a DateTime field does not return the matching record(s) when the code tries to filter to a precision of milliseconds in the RTC of both Microsoft Dynamics NAV 2009 SP1 or Microsoft Dynamics NAV 2009 R2


View products that this article applies to.

This article applies to Microsoft Dynamics NAV for all countries and all language locales.

↑ Back to the top


Symptoms

When you apply a filter to the DateTime field in the OnOpenPage trigger in the RoleTailored client (RTC) of Microsoft Dynamics NAV, if the code is trying to filter on a value that includes a precision of milliseconds in the DateTime field, the matching records are not returned. For example, when the matching data exists in the table, no records are returned in the following statement: SETFILTER(DateTimeField, '02/10/11 11:15:37.003 AM')

However, if a different data type (For example, CODE) is referenced by the SETFILTER statement then the matching record is returned fine. Additionally, this statement in the OnOpenForm trigger will return the record when you use the classic client even if the data type is DateTime.

This problem occurs in the following products:
  • Microsoft Dynamics NAV 2009 Service Pack 1 (SP1)
  • Microsoft Dynamics NAV 2009 R2

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft. There is a "Hotfix download available" section at the top of this Knowledge Base article. If you are encountering an issue downloading, installing this hotfix, or have other technical support questions, contact your partner or, if enrolled in a support plan directly with Microsoft, you can contact technical support for Microsoft Dynamics and create a new support request. To do this, visit the following Microsoft Web site: You can also contact technical support for Microsoft Dynamics by phone using these links for country specific phone numbers. To do this, visit one of the following Microsoft Web sites:

PartnersCustomersIn special cases, charges that are ordinarily incurred for support calls may be canceled if a Technical Support Professional for Microsoft Dynamics and related products determines that a specific update will resolve your problem. The usual support costs will apply to any additional support questions and issues that do not qualify for the specific update in question.


↑ Back to the top




How to obtain the Microsoft Dynamics NAV hotfix or update files

After you request a Microsoft Dynamics NAV hotfix, a hyperlink will be sent to you in an e-mail.


The e-mail will contain a hyperlink and a password. You can use the hyperlink to download the Microsoft Dynamics NAV hotfix or the update files. When you click the hyperlink, the File Download – Security Warning dialog box opens. Then, you are prompted to run, to save, or to cancel the download.


If you click Run, the files start the download and the extraction process. You must specify a folder for the new files, and then provide the password.


If you click Save, you must specify a path for saving the compressed file. When you open the file that you saved, you are prompted to specify a path for the files. Then, you must provide the password provided in the e-mail.


If you click Cancel, the download process stops.



How to install a Microsoft Dynamics NAV hotfix or an update file

The Microsoft Dynamics NAV platform hotfixes and updates are made available as single files. To install a Microsoft Dynamics NAV hotfix or an update, you must replace the existing Microsoft Dynamics NAV installation files with the hotfix or the update files. To do this, follow these steps.

Step 1: Replace the files in the Microsoft Dynamics NAV Classic Client installation

In the Microsoft Dynamics NAV Classic Client installation, replace the following files by using the hotfix or the update file.
File nameFile versionFile sizeDateTimePlatform
Dbm.dll6.0.32441.0312,64820-May-201116:42x86
Fin.exe6.0.32441.012,594,50420-May-201116:32x86
Finhlink.exe6.0.32441.0452,43220-May-201116:42x86
Finsql.exe6.0.32441.012,725,07220-May-201116:32x86
Microsoft.dynamics.nav.dotnetbridge.dll6.0.32441.0207,75220-May-201116:32x86
Microsoft.dynamics.nav.transformation.reporting.dll6.0.32441.0114,59220-May-201116:32x86
Nc_netb.dll6.0.32441.016,72020-May-201116:42x86
Nc_tcp.dll6.0.32441.018,76820-May-201116:42x86
Nc_tcps.dll6.0.32441.025,42420-May-201116:42x86
Ndbcs.dll6.0.32441.01,168,72020-May-201116:42x86
Slave.exe6.0.32441.038,22420-May-201116:42x86
To replace the existing Microsoft Dynamics NAV files, follow these steps:
  1. Close the Microsoft Dynamics NAV Classic Client.
  2. Locate the Microsoft Dynamics NAV Classic Client installation directory. The Microsoft Dynamics NAV Classic Client is usually installed in the following directory:
    C:\Program Files\Microsoft Dynamics NAV\60\Classic
  3. Copy the files that you downloaded.
  4. Paste the files that you downloaded into the Microsoft Dynamics NAV Classic Client installation directory.
  5. Click Yes to overwrite the files in the directory.

Step 2: Replace the files in the Microsoft Dynamics NAV RoleTailored client installation

In the Microsoft Dynamics NAV RoleTailored client installation, replace the following files by using the hotfix or the update file.
File nameFile versionFile sizeDateTimePlatform
Microsoft.dynamics.framework.patterns.dll1.3.10803.56271,65620-May-201106:30x86
Microsoft.dynamics.framework.ui.dll1.3.10803.562702,42420-May-201106:30x86
Microsoft.dynamics.framework.ui.mapping.dll1.3.10803.562104,42420-May-201106:30x86
Microsoft.dynamics.framework.ui.navigation.dll1.3.10803.56234,80020-May-201106:30x86
Microsoft.dynamics.framework.ui.ux2006.dll1.3.10803.56292,13620-May-201106:30x86
Microsoft.dynamics.framework.ui.ux2006.winforms.dll1.3.10803.56263,48020-May-201106:30x86
Microsoft.dynamics.framework.ui.windows.dll1.3.10803.56283,94420-May-201106:30x86
Microsoft.dynamics.framework.ui.winforms.controls.dll1.3.10803.5622,222,08020-May-201106:30x86
Microsoft.dynamics.framework.ui.winforms.dll1.3.10803.5621,173,48820-May-201106:30x86
Microsoft.dynamics.nav.client.builder.dll6.0.32441.0206,73620-May-201116:32x86
Microsoft.dynamics.nav.client.exe6.0.32441.0149,37620-May-201116:32x86
Microsoft.dynamics.nav.client.interop.communicator.dll1.0.559.18375,68820-May-201116:32x86
Microsoft.dynamics.nav.client.serviceconnection.dll6.0.32441.0112,54420-May-201116:32x86
Microsoft.dynamics.nav.client.ui.dll6.0.32441.0530,30420-May-201116:32x86
Microsoft.dynamics.nav.client.winforms.dll6.0.32441.0350,09620-May-201116:32x86
Microsoft.dynamics.nav.client.winforms.tlbNot Applicable2,68020-May-201112:49Not Applicable
Microsoft.dynamics.nav.language.dll6.0.32441.02,017,15220-May-201116:32x86
Microsoft.dynamics.nav.types.dll6.0.32441.0595,83220-May-201116:32x86
Microsoft.dynamics.nav.watson.dll6.0.32441.042,88020-May-201116:32x86
Microsoft.office.interop.outlook.dll10.0.4504.0395,13620-May-201116:42x86

To replace these files, follow these steps:
  1. Close the Microsoft Dynamics NAV RoleTailored client.
  2. Locate the Microsoft Dynamics NAV RoleTailored client installation directory. The Microsoft Dynamics NAV RoleTailored client is usually installed in the following directory:
    C:\Program Files\Microsoft Dynamics NAV\60\RoleTailored Client
  3. Copy the files that you downloaded.
  4. Paste the files that you downloaded into the Microsoft Dynamics NAV RoleTailored client installation directory.
  5. Click Yes to overwrite the files in the directory.

Step 3: Replace the files in the Microsoft Dynamics NAV Server installation

In the Microsoft Dynamics NAV Server installation, replace the following files by using the hotfix or the update file.
File nameFile versionFile sizeDateTimePlatform
Httpcfg.exe5.2.3790.022,35220-May-201116:42x86
Microsoft.dynamics.nav.language.dll6.0.32441.02,017,15220-May-201116:32x86
Microsoft.dynamics.nav.ncl.dll6.0.32441.0628,60020-May-201116:32x86
Microsoft.dynamics.nav.server.exe6.0.32441.0141,18420-May-201116:32x86
Microsoft.dynamics.nav.service.dll6.0.32441.0145,28020-May-201116:32x86
Microsoft.dynamics.nav.service.runtime.dll6.0.32441.075,66420-May-201116:32x86
Microsoft.dynamics.nav.service.webservices.dll6.0.32441.0149,40020-May-201116:32x86
Microsoft.dynamics.nav.types.dll6.0.32441.0595,83220-May-201116:32x86
Microsoft.dynamics.nav.watson.dll6.0.32441.042,88020-May-201116:32x86
Nclcsrt.etxNot applicable90,32920-May-201109:01Not applicable
Nclcsrt.stxNot applicable92,12820-May-201109:01Not applicable
Nclcsrts.dll6.0.32441.01,444,17620-May-201116:42x86
Ndbcs.dll6.0.32441.01,168,72020-May-201116:42x86

To replace these files, follow these steps:
  1. Stop the Microsoft Dynamics NAV Server.
  2. Locate the Microsoft Dynamics NAV Server installation directory. The Microsoft Dynamics NAV Server is usually installed in the following directory:
    C:\Program Files\Microsoft Dynamics NAV\60\Service
  3. Copy the files that you downloaded.
  4. Paste the files that you downloaded into the Microsoft Dynamics NAV Server installation directory.
  5. Click Yes to overwrite the files in the directory.
  6. Start the Microsoft Dynamics NAV Server.

Step 4: Replace the files in the Microsoft Dynamics NAV Application Server installation

If you have Microsoft Dynamics NAV Application Server installed, replace the following files in the Microsoft Dynamics NAV Application Server installation by using the hotfix or the update files.
File nameFile versionFile sizeDateTimePlatform
Dbm.dll6.0.32441.0312,64820-May-201116:42x86
Nas.exe6.0.32441.02,189,12820-May-201116:32x86
Nassql.exe6.0.32441.02,293,58420-May-201116:32x86
Ndbcs.dll6.0.32441.01,168,72020-May-201116:42x86
Slave.exe6.0.32441.038,22420-May-201116:42x86
To replace the files, follow these steps.
  1. Stop the Microsoft Dynamics NAV Application Server.
  2. Locate the Microsoft Dynamics NAV Application Server installation directory. The Microsoft Dynamics NAV Application Server is usually installed in the following directory:
    C:\Program Files\Microsoft Dynamics NAV\60\Application Server
  3. Copy the files that you downloaded.
  4. Paste the files that you downloaded into the Microsoft Dynamics NAV Application Server installation directory.
  5. Click Yes to overwrite the files in the directory.
  6. Start the Microsoft Dynamics NAV Application Server.

Step 5: Replace the files in the Microsoft Dynamics NAV SDK installation

If you have Microsoft Dynamics NAV SDK installed, replace the following files.
File nameFile versionFile sizeDateTimePlatform
Cf.hNot applicable57,95020-May-201112:49Not applicable
Cfront.dll6.0.32441.01,418,57620-May-201116:42x86
Cfront.ocx6.0.32441.0112,46420-May-201116:42x86
Cfrontsql.dll6.0.32441.01,631,57620-May-201116:42x86
Libload.cNot applicable31,71820-May-201106:50Not applicable
Microsoft.dynamics.nav.cfront.cfrontdotnet.dll6.0.32441.0182,16820-May-201116:32x86
Microsoft.dynamics.nav.cfront.cfrontdotnet.xmlNot applicable443,04520-May-201107:16Not applicable
Sample.cNot applicable28,71820-May-201106:50Not applicable
Sample.exe6.0.32441.032,59220-May-201116:42x86
To replace the files, follow these steps.
  1. Locate the Microsoft Dynamics NAV SDK installation directories. The Microsoft Dynamics NAV SDK is usually installed in the following directories:
    C:\Program Files\Microsoft Dynamics NAV\60\SDK\CFRONT

    C:\Program Files\Microsoft Dynamics NAV\60\SDK\Communication Components
    C:\Program Files\Common Files\Microsoft Dynamics NAV\Communication Component
  2. Choose the SDK to update, either C/Front or Communication Components.
  3. Copy the files that you downloaded.
  4. Paste the files that you downloaded into the appropriate Microsoft Dynamics NAV SDK installation directory.
  5. Click Yes to overwrite the files in the directory.
Note If you downloaded a hotfix or an update for the communication components, you must register the .dll files individually.

Step 6: Replace the files in the Microsoft Dynamics NAV ODBC driver installation

If you have the Microsoft Dynamics NAV ODBC driver installed, replace the following files in the Microsoft Dynamics NAV ODBC driver installation.
File nameFile versionFile sizeDateTimePlatform
Cfront.dll6.0.32441.01,418,57620-May-201116:42x86
Dbm.dll6.0.32441.0312,64820-May-201116:42x86
Nc_netb.dll6.0.32441.016,72020-May-201116:42x86
Nc_tcp.dll6.0.32441.018,76820-May-201116:42x86
Nc_tcps.dll6.0.32441.025,42420-May-201116:42x86
Nodbc.dll6.0.32441.02,144,08020-May-201116:42x86
Nodbc.xmlNot applicable1,20925-Aug-200916:43Not applicable
Nodbccfg.cfg6.0.32441.02,402,30420-May-201108:26Not applicable
Nodbccfg.xmlNot applicable2,53809-Mar-201106:30Not applicable
Slave.exe6.0.32441.038,22420-May-201116:42x86
To replace the files, follow these steps.
  1. Locate the Microsoft Dynamics NAV ODBC driver installation directory. The Microsoft Dynamics NAV ODBC driver is usually installed in the following directory:
    C:\Program Files\Microsoft Dynamics NAV\60\ODBC
  2. Copy the files that you downloaded.
  3. Paste the files that you downloaded into the Microsoft Dynamics NAV ODBC driver installation directory.
  4. Click Yes to overwrite the files in the directory.

Prerequisites

You must have one of the following products installed to apply this hotfix:
  • Microsoft Dynamics NAV 2009 Service Pack 1 (SP1)
  • Microsoft Dynamics NAV 2009 R2
Special note for Microsoft Dynamics NAV 2009 Service Pack 1
Before you apply this hotfix to a Microsoft Dynamics NAV 2009 Service Pack 1 installation, make sure that the current Microsoft Dynamics NAV 2009 SP1 installation has build number 32074 or a later build number. For more information, visit one of the following Microsoft websites, depending on whether you are a partner or a customer:
Partner
Combined Hotfix Release for Microsoft Dynamics NAV 2009 SP1 and Microsoft Dynamics NAV 2009 R2

Customer
Combined Hotfix Release for Microsoft Dynamics NAV 2009 SP1 and Microsoft Dynamics NAV 2009 R2

If the build number of the current Microsoft Dynamics NAV 2009 Service Pack 1 installation is less than 32074, you must perform one of the following steps before you can install this hotfix:
  • Install hotfix 2496107. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
    2496107 Platform hotfix resource files for Microsoft Dynamics NAV 2009 Service Pack 1
  • Perform a solution upgrade to Microsoft Dynamics NAV 2009 R2. For more information about how to perform a solution upgrade from Microsoft Dynamics NAV 2009 Service Pack 1 to Microsoft Dynamics NAV 2009 R2, visit the following Microsoft website:
    Install and Upgrade Instructions for Microsoft Dynamics NAV 2009 R2
For information about how to find the build number in Microsoft Dynamics NAV, visit one of the following Microsoft websites, depending on whether you are a partner or a customer:
Partner
How to Find the Build Number in Microsoft Dynamics NAV

Customer
How to Find the Build Number in Microsoft Dynamics NAV

↑ Back to the top


Status

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

↑ Back to the top


More Information

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


References

VSTF DynamicsNAV SE: 260824

↑ Back to the top


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

↑ Back to the top


Keywords: kbnoloc, kbexpertiseinter, kbexpertisebeginner, kbexpertiseadvanced, kbmbsquickpub, kbqfe, kbautohotfix, kbsurveynew, kbmbsmigrate, kb, kbmbspartner, kbhotfixserver

↑ Back to the top

Article Info
Article ID : 2556690
Revision : 4
Created on : 9/21/2018
Published on : 9/21/2018
Exists online : False
Views : 228