G
Guest
Hi!
I am trying to create / change the DisplayControl property of a yes/no field
in Access 2003 to display a CheckBox (property.value= 106) from vba code.
I'm sure I've done this before, but I forgot how I did it.
I know that the DisplayControl property is a User Defined property and that
it doesn't exist until it is created by the User in Table Design view or
through vba code using DAO. I seem to be able to create the property and even
change it so that the property value prints out in the debug window as 106
but when I open the table in edit mode, the values displayed are still -1 and
0 (not very nice for my users)
How do I get a yes/no field created from code to display as a checkbox
without manually opening the table in design view and changing the "Display
Control" property on the Lookup tab?
Thanks in advance...
I have tried several methodes including creating the property like this
I am trying to create / change the DisplayControl property of a yes/no field
in Access 2003 to display a CheckBox (property.value= 106) from vba code.
I'm sure I've done this before, but I forgot how I did it.
I know that the DisplayControl property is a User Defined property and that
it doesn't exist until it is created by the User in Table Design view or
through vba code using DAO. I seem to be able to create the property and even
change it so that the property value prints out in the debug window as 106
but when I open the table in edit mode, the values displayed are still -1 and
0 (not very nice for my users)
How do I get a yes/no field created from code to display as a checkbox
without manually opening the table in design view and changing the "Display
Control" property on the Lookup tab?
Thanks in advance...
I have tried several methodes including creating the property like this