Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set checkbox default value to checked in Access database

I'm working with Access databases, and in one table I have field called "Active". This field has a checkbox and I need to set its default value to checked?

For example, I'm appending data to this table from Excel sheet that has 10000 rows and i can't go one by one and check them. So, what I want is when I append this sheet to the table that all checkboxes are checked.

Any idea?

like image 569
Sylca Avatar asked Feb 18 '23 19:02

Sylca


1 Answers

Solved, this worked for me. What I've done is that I set table properties like this:

enter image description here

and populated my cells on excel sheet with 1, and there it is.

If there is a better way, let me know.

like image 82
Sylca Avatar answered Mar 09 '23 01:03

Sylca