My system info is :
Version: 7.5.5.2 / LibreOffice Community
Build: caf8fe7424262805f223b9a233
Environment: CPU Threads: 4;OS: Windows 10.0 Build 19405
User Interface: UI render: Skia/Raster; VCL:win
Locale: en.GB (en_GB); UI: en-GB
Misc Calc: threaded
Database HSQLDB Embedded
Another question for you folks. First, let me describe what my manual process is. Each month I download a CSV file, save it as a calc file, change the format of each row to suit my db, then appended the data to a certain table. (I have recorded a Macro to do most of this for me automatically). I then call up and run some Update SQL code, which adds values to certain fields in that table, based on the contents of other fields. I make changes to the SQL code from time to time, so that it is up to date for when I run it. The SQL code is in a text file, created using Notepad, saved in the Documents folder of my laptop. All well and good. Now I’m wondering if I can automate things a bit by having a button on a form which, on being clicked, calls up the file containing the SQL and runs the code in it automatically. It would be best if the SQL code remains as an external file, making it easy to make modifications from time to time. So the button would have to be programmed with the name of the SQL file and it’s location on my laptop, then be able to read the contained SQL and execute it. I would make sure the file contains only the SQL code that would be required for the update operation. Is that possible? Thanks.