[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libreoffice-users] Re: Base/Firebird Queries broken
- Subject: Re: [libreoffice-users] Re: Base/Firebird Queries broken
- From: Drew Jensen <email@example.com>
- Date: Wed, 16 Jan 2019 12:02:12 -0500
- To: firstname.lastname@example.org
Also - if you would prefer you can make this fix with a small basic macro.
If you would rather go that way here is what you do.
Open the Base file in Libreoffice.
From the menu select: Tools -> Macros -> Organize Dialogs.
On the Organize Dialogs dialog select the 'Libraries' tab.
On this tab there is a drop down list for 'Location'
Pull that down and you will see your ODB file listed, select it.
Click on the button 'New'
Default name should be 'Library1', choose that DO NOT PUT THIS CODE IN THE
With the basic editor open copy and past the following into the editor
Dim DBDocUI as Object
on error resume next
DBDocUI = ThisDatabaseDocument.currentController
if not DBDocUI.isConnected then
on error goto 0
ThisDatabaseDocument.DataSource.Settings.ParameterNameSubstitution = true
Execute the macro - the property will be updated.
Now you can remove the 'Library 1' basic library you added, it is no longer
PS the reason for not updating the standard library is that in Libreoffice
once the Standard library is updated with anything it is difficult to drop
it completely and the file, even if you remove all the code, will form then
on act as if it has embedded macros when it doesn't. If you add a library
with a different name however you can remove it and if standard is also
empty at that time it is also removed and the file will open without the
embedded macro complaint.
On Wed, Jan 16, 2019 at 11:42 AM Drew Jensen <email@example.com>
> Yes, I have a suggestion - there is a property in the Base file which is
> incorrectly set during the Migration Assistant run and must be fixed. The
> error message looks like this is what is biting you.
> The fastest way to fix it is at follows:
> Close the base file and exit LibreOffice.
> Rename the base file from <filename>.odb to <filename>.zip
> Now open the file with your favorite zip tool.
> You fill find a file named content.xml in the root of the file.
> Open that with a text editor.
> Search for this string: db:parameter-name-substitution="false"
> Edit that so that it reads db:parameter-name-substitution="true"
> Save your changes.
> Close the zip file, it should ask if you want to update the file with the
> change and answer yes.
> Change file name back to <filename>.odb and you should be good to go.
> Best wishes,
> On Wed, Jan 16, 2019 at 11:27 AM Paul D. Mirowsky <firstname.lastname@example.org>
>> Found this at
>> |SELECT rdb$get_context('SYSTEM','ENGINE_VERSION')... -- ENGINE_VERSION
>> >= 2.1 Only problem is, when run as "Execute SQL Statement" menu item,
>> it errors as
>> > 1: firebird_sdbc error: *Dynamic SQL Error *SQL error code = -104
>> > *Token unknown - line 1, column 50 *. caused by 'isc_dsql_prepare'
>> I'm sure it's buried somewhere. Any hints anyone? I am by no means an
>> SQL expert, Thank you for being patient. Paul |
>> On 1/16/2019 2:27 AM, Alexander Thurgood wrote:
>> > Le 16/01/2019 à 00:19, Paul D. Mirowsky a écrit :
>> >> Invalid usage of boolean expression
>> > This bug perhaps ?
>> > Not sure which version of Firebird we are using in LO - 3.0.1 or 3.0.2 ?
>> > Alex
>> To unsubscribe e-mail to: email@example.com
>> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
>> List archive: https://listarchives.libreoffice.org/global/users/
To unsubscribe e-mail to: firstname.lastname@example.org
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
|[libreoffice-users] Base/Firebird Queries broken||"Paul D. Mirowsky" <email@example.com>|
|Re: [libreoffice-users] Base/Firebird Queries broken||"Paul D. Mirowsky" <firstname.lastname@example.org>|
|[libreoffice-users] Re: Base/Firebird Queries broken||Alexander Thurgood <email@example.com>|
|Re: [libreoffice-users] Re: Base/Firebird Queries broken||"Paul D. Mirowsky" <firstname.lastname@example.org>|
|Re: [libreoffice-users] Re: Base/Firebird Queries broken||Drew Jensen <email@example.com>|
- Prev by Date: Re: [libreoffice-users] Re: Base/Firebird Queries broken
- Next by Date: Re: [libreoffice-users] Base/Firebird Queries broken
- Previous by thread: Re: [libreoffice-users] Re: Base/Firebird Queries broken
- Next by thread: Re: [libreoffice-users] Re: Base/Firebird Queries broken