I keep getting a BASIC runtime error Variable not defined when doing the following
oDS = ThisDatabaseDocument.CurrentController
oDS.connect()
oConnection = oDS.ActiveConnection()
I also tried the following which gives the same error
oConnection = ThisComponent.DataSource.getConnection("","")
the first line causes the error. The subroutine will run one time when i first open the data base, but will not run after that.
I am using FireBird embedded on a linux system
I am a newbe for sure
I am running this macro from the GUI and from the macro editor, not attached to any event