The data source "" was not found.

I created a document using the New Labels command, which worked fine. I then saved it, and opened it later to print the labels again, and got the error “The data source “” was not found.” I then clicked the ‘Check Connection Settings…’ button, selected the database (an .odb file), tried printing again and got the same error.

Any idea why the connection to the data source can’t be established?

I’m using Windows 7, LibreOffice version 6.0.5.2 (x64).

Hello,

Using database information in other modules requires the database to be registered. Once this is done, data is accessible. If the database is renamed or the .odb moved to a different location you will get the error you received. When you clicked on the Check Connection Settings... button it simply takes you to the registered DB page & there you should verify (and correct if necessary) the actual .odb & its location. Once corrected all should work again.

It is also possible you did not correctly save the original settings when you created the labels the first time. Your question as presented shows no datasource name.

Also, in Writer, try F4 which will show all connected databases and will make more clear if database is missing.

Thanks for the replies and suggestions. The “did not correctly save…” comment led me to the solution. I was saving in *.doc format. Once I changed to *.odt format everything worked.

You haven’t accepted the right answer yet. Please do.