That's just how programming works. 0 just seems right for being false, which makes not 0 true. Also, 1 is odd as well, so I don't really see how that point relates to anything.
As for converting it, you could use the absolute value, you could multiply the result by -1, you could use an IIf statement, you could divide the result by -1, you could add 2 to the result and take the modulus, you could....
if this is normal for Access then I will deal with it, but VBA shows a true condition as a positive number, not a negative
why is Access showing -1 for a TRUE
Using -1 for TRUE is a hold-over from primitive circuitry where that was the easiest way to support the test regardless of the number of bits in the Boolean variable,
I understand why 1 would be TRUE. 1 is ON, 0 if OFF. But why is Access showing -1 for a TRUE
I know what logic is and I know what values are but logic values?
Not sure what your point is.
Strings are numbers.
+
So since everything in a computers brain is binary 0 or 1 everything is numeric. Glad we got that sorted.
A boolean field in an Access table is Yes/No which is 0 or -1 (numeric). As stated here by others.
Since the OP's question is regarding a boolean return type in a table (Yes/No), my response is that he should format it as such using the available table properties for that field.
I was trying to be helpful.
static said:@ Doc: Not sure what your point is.
Magnetic on/magnetic off.