Subject | shortint / short integer / 8-bit integer ? |
---|---|
Author | georg_ritter@hotmail.com |
Post date | 2001-03-13T12:41:45Z |
Hi,
using IB 6.01, I am trying to store an unsigned 8-bit integer (values
0-255) in the database.
I cannot figure out an easy way to do this - there is no SHORTINT type
or something like this, and domains with char(1) don't seem to work in
this case (when I put 0 in such a field, and retrieve it, I get the
ascii value of 48 which is not what I want).
Is there a solution? (I have searched previous postings and the
Internet, without success).
Any help would be appreciated,
thanks
Georg
............
Georg Ritter
using IB 6.01, I am trying to store an unsigned 8-bit integer (values
0-255) in the database.
I cannot figure out an easy way to do this - there is no SHORTINT type
or something like this, and domains with char(1) don't seem to work in
this case (when I put 0 in such a field, and retrieve it, I get the
ascii value of 48 which is not what I want).
Is there a solution? (I have searched previous postings and the
Internet, without success).
Any help would be appreciated,
thanks
Georg
............
Georg Ritter