https://bugs.documentfoundation.org/show_bug.cgi?id=154037

--- Comment #2 from flywire <[email protected]> ---
https://ask.libreoffice.org/t/possible-synch-error-between-mysql-and-base/88846/14

> AndrewBase 2.2.4 speaks precisely about this issue. There is a workaround 
> listed > there, which I have slightly modified, and it seems to be working 
> just fine:

sub refreshTables()
dim dbURL as string: dbURL = ConvertToURL(“C:\filename.odb”)
dim oBaseContext as object: oBaseContext =
CreateUnoService(“com.sun.star.sdb.DatabaseContext”)
dim oDB as object: oDB = oBaseContext.getByName(dbURL)
dim oDoc as object: oDoc = oDB.DatabaseDocument
dim oDisp as object: oDisp =
createUnoService(“com.sun.star.frame.DispatchHelper”)
dim oFrame as object: oFrame = oDoc.getCurrentController().getFrame()

oDisp.executeDispatch(oFrame, “.uno:DBRefreshTables”, “”, 0, Array())
end sub


Download AndrewBase from https://www.pitonyak.org/database/ - 2.2.4 Refresh the
tables

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to