I have a table created by importing a large delimited text file.
There are multiple Yes/no fields (defined on the import screen).
Currently, I open the table in design view, click on the yes/no field in the field list, F6 to Field Properties, and change the Format (General tab) to Yes/No (it is blank) and then under the Lookup tab to CheckBox (it shows textbox). I defined the fields as Yes/No on import.
Is there an easier way to do this with code than to manually opening each of the hundreds of text files and doing the above for each of the 100 or so yes/no boxes?
I would like the code to loop thru all the fields (approx 200) and if the data type=yes/no, then set the field properties as outlined above. I am new to programming access.
Thank you in advance.
Chalmers Davis
There are multiple Yes/no fields (defined on the import screen).
Currently, I open the table in design view, click on the yes/no field in the field list, F6 to Field Properties, and change the Format (General tab) to Yes/No (it is blank) and then under the Lookup tab to CheckBox (it shows textbox). I defined the fields as Yes/No on import.
Is there an easier way to do this with code than to manually opening each of the hundreds of text files and doing the above for each of the 100 or so yes/no boxes?
I would like the code to loop thru all the fields (approx 200) and if the data type=yes/no, then set the field properties as outlined above. I am new to programming access.
Thank you in advance.
Chalmers Davis