S
Stuart McCall
(Another pedeant rides in....) I don't think that is right, the untouched
It seems that in Access 'untouched' means strictly that, ie the boolean is
contained in a 'new record'. Open a form based on your table and navigate to
the new record. Switch to the VBE and type this in the immediate window:
?Forms!MyForm!MyField
making sure that MyField.Name is different to MyControl.Name, so you know
you're looking at the recordset value, not the control's value. I get Null
as the result. What do you get?
value of a Boolean field is zero. I made a new table including a Text
Field
[Txt] and boolean field [Bool1]. Bool1.DefaultValue is Null. I added 5
records with "a" to "e" in [Txt] and leaving [Bool1] untouched. Querying
the
table shows the values for [Bool1] are all zero. Next I added a second
boolean field [Bool2] and queried again. The values for [Bool2] are all
zero.
Tim
It seems that in Access 'untouched' means strictly that, ie the boolean is
contained in a 'new record'. Open a form based on your table and navigate to
the new record. Switch to the VBE and type this in the immediate window:
?Forms!MyForm!MyField
making sure that MyField.Name is different to MyControl.Name, so you know
you're looking at the recordset value, not the control's value. I get Null
as the result. What do you get?