Code:
Sub testddl_Jed()
Dim strddl As String
strddl = "ALTER TABLE Registry ADD Column Deceased YESNO False"
CurrentDb.Execute strddl, dbFailOnError
CurrentDb.TableDefs("Registry").Fields("Deceased").Properties("Format") = acCheckBox
End Sub
I ran the first 2 lines of your code and all is well.
The format property of the Deceased field :
Code:
True/False
Yes/No
On/Off
The third line results in 3270 Property not found.
Are you thinking of adding a checkbox control on form and setting its control source to the field Deceased??