[Libreoffice-bugs] [Bug 117856] Firebird: Migration: Simple form-subform Form fails to work after otherwise successful run of migration assistant

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jun 2 15:41:12 UTC 2018


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

Drew Jensen <drewjensen.inbox at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|DUPLICATE                   |---
             Status|RESOLVED                    |REOPENED

--- Comment #5 from Drew Jensen <drewjensen.inbox at gmail.com> ---
Ok I reopened this because it is not really a duplicate of the other issue,
although it is the same bug but in different code.

The migration assistant today creates initial firebird metadata with name
parameter substitution turned off.

Grabbing the little basic script from the closed issue for firebird generally:
Option Explicit
Sub ensureConnection()
        Dim DBDocUI as Object
        on error resume next
        'XRay ThisComponent
        DBDocUI = ThisDatabaseDocument.currentController
        if not DBDocUI.isConnected then
                DBDocUI.connect
        end if
        on error goto 0
End Sub

Sub Main
        ensureConnection()
        ThisDatabaseDocument.DataSource.Settings.ParameterNameSubstitution =
true
End Sub

and running that against the migrated base files does indeed fix this problem,
and the forms w/regard to main/sub form access work.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180602/348a7593/attachment.html>


More information about the Libreoffice-bugs mailing list