Unable to use hexadecimal or octal values in properties when using Access (209592)
The information in this article applies to:
- Microsoft Access 2000
- Microsoft Access 97
This article was previously published under Q209592 Advanced: Requires expert coding, interoperability, and multiuser skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
You cannot use hexadecimal or octal values referenced as &Hxxxx (for
hexadecimal numbers) or &Oxxxx (for octal numbers) in the properties
of a control.
CAUSE
Most control properties "expect" either a string expression or a decimal
number.
RESOLUTION
Use decimal numbers rather than hexadecimal or octal numbers.
TIP: You can determine the decimal equivalent of a hexadecimal or octal number by typing that number in the BorderColor property of a control (first write down the original value of the property so that you can easily restore it). Microsoft Access converts hexadecimal and octal numbers (&H or &O format) entered in the color properties of a control to decimal numbers.
Modification Type: | Major | Last Reviewed: | 2/2/2005 |
---|
Keywords: | kbprb kbusage KB209592 |
---|
|