I've successfully prototyped a Base application with several complicated forms and reports.
Now I wish to deploy the app to a live environment which means I need to use a different database. I have been using the embedded HSQL database. I can connect to MySQL using the native driver and I have registered the database.
What I would like to do now is to keep the reports and forms I have developed but to just change the database connection to use the external data. There seems to be no way of doing this.
The Edit->Database->Properties and Connection type are greyed out. How do I change the database connection but keep my forms and reports. Alternatively, how do I import my reports and forms into a different ODB file?
[Solved] Keep ODB file & reports/forms, change DB connection
[Solved] Keep ODB file & reports/forms, change DB connection
Last edited by psb777 on Sun Mar 07, 2010 1:40 pm, edited 1 time in total.
Paul Beardsell - OpenOffice 3.1 on Ubuntu 9.10
Re: Keep ODB file & reports/forms, & change database connection
Drag and drop into new file, the properties Data tab you must set new data source for each form/report.Alternatively, how do I import my reports and forms into a different ODB file?
AOO 4.0 and LibO 4 on Win 8
Hungarian forum co-admin
Hungarian forum co-admin
Re: Keep ODB file & reports/forms, & change database connection
OK, thanks, that works. I had almost given up.
But whereas some tinkering is still required, I don't think I'll have to reset the data source - I have already got that working when I created the new ODB file.
And rather than drag and drop for the database itself I think the tables are better done by creating and editing the SQL script using the HSQL "script" command - there are database incompatibilities such as column types and foreign keys which must be resolved. I wish now I had started using MySQL and never bothered with HSQL.
But whereas some tinkering is still required, I don't think I'll have to reset the data source - I have already got that working when I created the new ODB file.
And rather than drag and drop for the database itself I think the tables are better done by creating and editing the SQL script using the HSQL "script" command - there are database incompatibilities such as column types and foreign keys which must be resolved. I wish now I had started using MySQL and never bothered with HSQL.
Paul Beardsell - OpenOffice 3.1 on Ubuntu 9.10