I have the following code:
Which creates a new table for me. How do I tell it I want the field [Rotate] to be a Boolean or Yes / No field?
Code:
Private Sub cmdtest_Click()
Dim dbs As Database
Set dbs = OpenDatabase("Y:\Databases\devcopy.mdb")
dbs.Execute "CREATE TABLE [ROTATION] (CompanyName CHAR, Rotate BINARY)"
dbs.Close
End Sub
Which creates a new table for me. How do I tell it I want the field [Rotate] to be a Boolean or Yes / No field?