I am unable to reproduce the problem. In my tests, columns created by the table creation wizard or the column creation wizard were generated with the mentioned option.
Please detail step by step how you encountered the problem. If possible, send a database file with a test case.
Ok, I got it. I'm going to do some tests, but I believe it is not possible to change this property, as well as others properties. MDB Admin uses ADOX, and this has some limitations. If it is possible, I will add the option to the columns "Edit" menu.
Meanwhile, you can create columns with the instruction below:
ALTER Table Movies
ADD Column COUNTRY3 TEXT(60) WITH COMPRESSION
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried several ways, but each time an error occurred when trying to change this property via ADOX. I think it's a bug in this library, but the equivalent property ("Jet OLEDB:Compressed UNICODE Strings") cannot be set. The only way to add a command to configure this option would be to use some resource external to ADOX, such as an SQL command. However, this adds a layer of complexity to the application, which I intend to avoid until more similar functionality is needed.
Alternatively, you have a few options:
1- Create the columns using MDB Admin helper
By default, text columns created via ADOX are compressed; or
Thanks for reporting.
I am unable to reproduce the problem. In my tests, columns created by the table creation wizard or the column creation wizard were generated with the mentioned option.
Please detail step by step how you encountered the problem. If possible, send a database file with a test case.
I use FlySpeed SQL Query to maintain and query the data.
I added a Column w MDB_Admin to a JET database I've used for about 20 years.
ALTER Table Movies
ADD Column Country TEXT(60)
The column is created with the DBPROP_JETOLEDB_COL_COMPRESSED flag set to FALSE and there is no way to change it in the MDB_Admin EDIT page.
Ok, I got it. I'm going to do some tests, but I believe it is not possible to change this property, as well as others properties. MDB Admin uses ADOX, and this has some limitations. If it is possible, I will add the option to the columns "Edit" menu.
Meanwhile, you can create columns with the instruction below:
ALTER Table Movies
ADD Column COUNTRY3 TEXT(60) WITH COMPRESSION
I tried several ways, but each time an error occurred when trying to change this property via ADOX. I think it's a bug in this library, but the equivalent property ("Jet OLEDB:Compressed UNICODE Strings") cannot be set. The only way to add a command to configure this option would be to use some resource external to ADOX, such as an SQL command. However, this adds a layer of complexity to the application, which I intend to avoid until more similar functionality is needed.
Alternatively, you have a few options:
1- Create the columns using MDB Admin helper
By default, text columns created via ADOX are compressed; or
2- Use the following syntax to create columns:
You can also change a pre-existing column: