C
chris.peressotti
Hi. I have a MATLAB program that interacts with an MS Access database
via MATLAB's "fastinsert" command.
In one table, I'm inserting RGB pixel values, so it seemed natural
that I'd use the "Byte" field size; however I eventually ran into a
problem: I'm not allowed to insert values higher than 127 into the
Byte columns! This would make sense if I had specified a signed-byte,
but is there even such a thing? The Access documentation states that
"Byte" can handle values from 0-255, and I haven't found anything else
to explain this.
A simple way around this is to just specify the field size as, say
Integer, but that also seems like a waste of space.
Does anyone know what I'm doing wrong?
- Chris
via MATLAB's "fastinsert" command.
In one table, I'm inserting RGB pixel values, so it seemed natural
that I'd use the "Byte" field size; however I eventually ran into a
problem: I'm not allowed to insert values higher than 127 into the
Byte columns! This would make sense if I had specified a signed-byte,
but is there even such a thing? The Access documentation states that
"Byte" can handle values from 0-255, and I haven't found anything else
to explain this.
A simple way around this is to just specify the field size as, say
Integer, but that also seems like a waste of space.
Does anyone know what I'm doing wrong?
- Chris