Hello. I am trying to link a MySQL database to my Access file and am having some trouble. First off the MySQL database was created by my other, industry specific, software provider. They recently updated to the MySQL format so people like me could now access the data outside of that software. They also had a stipulation of "you're on your own" if you run into any errors or problems when accessing/manipulating data.
So I was able to set up and link the tables in the database to my access file, but one of 2 problems occur depending on the settings.
1. The primary key's data type of most of the tables in the MySQL DB are set to BIGINT. When I link the tables, Access reads this as a text type. Then I get data type mismatch errors when trying to run queries, inserting subforms and etc, because the related fields in other tables are of regular INT data types and access is reading it a number format.
2. After research on this BIGINT problem I found a solution, but it creates another problem... The solution was to Select the Change BIGINT columns to INT option in the connection dialog in ODBC DSN Administrator and creating a dummy column with type Timestamp. After doing this and relinking the tables, the data type is now correctly showing as number, but whenever I try to view data in the table (either directly from the table, in a query, or on a form based on the table/query) every field in every record is marked as #DELETED#. The total number of records in the table is correct however. Most of the tables already had a field/column of Timestamp type, but even if I added another one I still got the #DELETED# problem. Oddly enough though whenever I added the new field to the table that field did not show up in the table after re-linking.
Any suggestions on fixing these problems?
So I was able to set up and link the tables in the database to my access file, but one of 2 problems occur depending on the settings.
1. The primary key's data type of most of the tables in the MySQL DB are set to BIGINT. When I link the tables, Access reads this as a text type. Then I get data type mismatch errors when trying to run queries, inserting subforms and etc, because the related fields in other tables are of regular INT data types and access is reading it a number format.
2. After research on this BIGINT problem I found a solution, but it creates another problem... The solution was to Select the Change BIGINT columns to INT option in the connection dialog in ODBC DSN Administrator and creating a dummy column with type Timestamp. After doing this and relinking the tables, the data type is now correctly showing as number, but whenever I try to view data in the table (either directly from the table, in a query, or on a form based on the table/query) every field in every record is marked as #DELETED#. The total number of records in the table is correct however. Most of the tables already had a field/column of Timestamp type, but even if I added another one I still got the #DELETED# problem. Oddly enough though whenever I added the new field to the table that field did not show up in the table after re-linking.
Any suggestions on fixing these problems?