ACC: Attached Btrieve Table Rounds Time Values

ID: Q109726


The information in this article applies to:


SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

When you enter a time value such as 06:37:00 in a field in an attached Btrieve table, the time value is changed when you exit the field. In this example, the time value might be changed to 06:36:59.


CAUSE

This problem occurs because of differences in the way that Btrieve and Microsoft Access store time values. Btrieve stores time values in integer (binary) format, while Microsoft Access stores them in floating-point (decimal) format. The conversion of decimal fractions to binary fractions is a mathematically inexact process, and rounding errors can occur.


STATUS

Microsoft has confirmed this to be a problem in Microsoft Access versions 1.0, 1.1, and 2.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

Btrieve is manufactured by Pervasive Software, a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.

Additional query words: isam


Keywords          : kb3rdparty IsmBtrv 
Version           : 1.0 1.1 2.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: April 2, 1999