Re: [libreoffice-users] Base/Firebird Queries broken

2019-01-16 Thread Paul D. Mirowsky
Ok, things are narrowing down on this issue. I have a Query Design view in which I have a field Series set to 134. I remove the 134 and press enter. Run Query (F5) It works. Add back in 134 to Series field. It works Save it and save the database. Double click on the query to run it.

Re: [libreoffice-users] Base/Firebird Queries broken

2019-01-16 Thread Drew Jensen
Before I forget - the files used for to gather these runtime numbers are found here: https://gerrit.libreoffice.org/#/admin/projects/benchmark There are five xls files with an explanation as to what the spreadsheet is evaluating. They are 4 years old it looks like but seem to be as good as I've

Re: [libreoffice-users] Re: Base/Firebird Queries broken

2019-01-16 Thread Paul D. Mirowsky
Found this at https://stackoverflow.com/questions/31611233/determine-firebird-version-with-sql-version-2-1 |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:

Re: [libreoffice-users] Re: Base/Firebird Queries broken

2019-01-16 Thread Drew Jensen
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

Re: [libreoffice-users] Base/Firebird Queries broken

2019-01-16 Thread Drew Jensen
Sorry - that last email wen to the wrong mailing list - please disregard it here. On Wed, Jan 16, 2019 at 1:14 PM Drew Jensen wrote: > Before I forget - the files used for to gather these runtime numbers are > found here: > https://gerrit.libreoffice.org/#/admin/projects/benchmark > > There are

Re: [libreoffice-users] Re: Base/Firebird Queries broken

2019-01-16 Thread Drew Jensen
Howdy, 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

Re: [libreoffice-users] Base/Firebird Queries broken

2019-01-16 Thread Drew Jensen
So, can you open that Query definition, the one that raised the error when you double clicked on it, in design view and Run it and it works? Is that what you are saying? Thanks On Wed, Jan 16, 2019 at 12:17 PM Paul D. Mirowsky wrote: > Ok, things are narrowing down on this issue. > > I have

Re: [libreoffice-users] Re: Base/Firebird Queries broken

2019-01-16 Thread Robert Großkopf
Hi Paul, I would remove >> >>> "Ions-IM"."Select" = TRUE and >>> "Equipment"."Series" = 134 and try the query again. Both commands are right in the internal Firebird-Database. I could test it with with LO 6.1.4.2 here. But could be there is something wrong with the fields ... Is there

Re: [libreoffice-users] Re: Base/Firebird Queries broken

2019-01-16 Thread Paul D. Mirowsky
Hello Drew I assumed that you are answering the question on error 104. I changed the file as per your instructions to db:parameter-name-substitution="true" , but error 104 is still there. Do I have to go back to my original file a migrate again with this fix or am I fixing SELECT

Re: [libreoffice-users] Base/Firebird Queries broken

2019-01-16 Thread Paul D. Mirowsky
When editing the query, it works using RunQuery (F5) After editing and it is working, I save the Query. Then clicking on the saved Query from main Query window results in error again. On 1/16/2019 1:06 PM, Drew Jensen wrote: So, can you open that Query definition, the one that raised the

Re: [libreoffice-users] Re: Base/Firebird Queries broken

2019-01-16 Thread Drew Jensen
Howdy Paul, No you don't need to go back - the parameter substitution is for problems with sub forms and now I think you are just dealing with SQL differences between HSQL and Firebird with regards to how it implements joins in select statements. On Wed, Jan 16, 2019 at 2:36 PM Paul D. Mirowsky

Re: [libreoffice-users] Base/Firebird Queries broken

2019-01-16 Thread Drew Jensen
On Wed, Jan 16, 2019 at 2:46 PM Paul D. Mirowsky wrote: > When editing the query, it works using RunQuery (F5) > > After editing and it is working, I save the Query. > > Then clicking on the saved Query from main Query window results in error > again. > IDK on that, haven't seen that particular

Re: [libreoffice-users] Base/Firebird Queries broken

2019-01-16 Thread Robert Großkopf
Hi Paul, > Ok, things are narrowing down on this issue. > > I have a Query Design view in which I have a field Series set to 134. > > I remove the 134 and press enter. > > Run Query (F5) > > It works. Save it at this point. Don't switch back. Does this work? Then try "Equipment"."Series" =

Re: [libreoffice-users] Re: Base/Firebird Queries broken

2019-01-16 Thread Robert Großkopf
Hi Drew, > > 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