Behavior of query differs for byte data (199270)
The information in this article applies to:
This article was previously published under Q199270 Novice: Requires knowledge of the user interface on single-user computers.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
When you create an update query that calculates values for a Numeric field
whose FieldSize property is set to Byte, you may not get the results that you expect when the calculated value in the field is larger than what the Byte size data type can hold. If this happens, the query updates the value in the field to the calculated value minus 256.
CAUSE
The Byte data type is used to store small, positive integers ranging from 0
to 255.
RESOLUTION
Use a different field size for your calculated field if you are going to be
creating calculations that exceed 255.
REFERENCESFor more information about field sizes, click Microsoft Access Help on the
Help menu, type fields, size in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Major | Last Reviewed: | 4/26/2004 |
---|
Keywords: | kbprb kbusage KB199270 kbAudDeveloper |
---|
|