Re: [libreoffice-users] Base/Firebird Queries broken
Hi Paul, > > Opening the "2 Amps to Volts-High by Series" There seems to be something wrong in the saved query, which isn't shown while editing the query. For other users: 1. I have tested to execute the query. 2. Execution fails. 3. I opened the query in design-view. 4. I executed the query. 5. Execution works. ... This is the problem, what nobody could understand ... 6. I changed something in the query (removed "Equipment"."Series" = 134 ) and saved the query. 7. Closed the design-view. 8. Execution fails. ... Then I opened the query, added the removed part again, saved ... All the same. ...But when I open the query and save the query with a new name the query will be saved with this new name and could be executed. So I created, for example "12 Amps to Volts-High by Series" and it works. I guess there is something saved in the code of the odb-file, which isn't loaded for query-design. If I save the query with changed content this part wouldn't be changed. If I save the query as new the content will be created from the query-editor-gui. Never seen such a behaviour before. Regards Robert -- Homepage: http://robert.familiegrosskopf.de LibreOffice Community: http://robert.familiegrosskopf.de/map_3 -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-users] Base/Firebird Queries broken
Ok, this is what happened. Opening the "2 Amps to Volts-High by Series" By main "Queries", right click and choose "Edit" In view, changed 134 to '134' Message: Warning The entered criterion cannot be compared with this field. Remove 134 from Series and hit enter. results in all records Add 134 to Series and hit enter. results in just 134 Series records. Query Design Double left click on query name "2 Amps to Volts-High by Series" Message: The data content could not be loaded. Error code: 1 firebird_sdbc error: *Dynamic SQL Error *SQL error code = -104 *Invalid usage of boolean expression caused by 'isc_dsql_prepare' By main "Queries", right click and choose "Edit in SQL view..." Remove AND "Amps"."Series" = '134' results in all records Add AND "Amps"."Series" = '134' results in just 134 Series records. Remove Add AND "Amps"."Series" = '134' and add Add AND "Amps"."Series" = 134 results in just 134 Series records. Saved the query in multiple states When ever I save the Query and double left click from main Query window on "2 Amps to Volts-High by Series" Results in error message: firebird_sdbc error: *Dynamic SQL Error *SQL error code = -104 *Invalid usage of boolean expression caused by 'isc_dsql_prepare' In effect, in either edit mode it works correctly. The saved query always fails. Hope this helps Paul On 1/17/2019 12:58 AM, Robert Großkopf wrote: 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" = '134' instead of "Equipment"."Series" = 134 before. Regards Robert -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-users] Base/Firebird Queries broken
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" = '134' instead of "Equipment"."Series" = 134 before. Regards Robert -- Homepage: http://robert.familiegrosskopf.de LibreOffice Community: http://robert.familiegrosskopf.de/map_3 -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-users] Base/Firebird Queries broken
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 problem before. Did you say that the SQL statement will run with Run SQL Direct turned on? > > On 1/16/2019 1:06 PM, Drew Jensen wrote: > > 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 < > p_mirow...@bentaxna.com> > > wrote: > > > >> 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. > >> > >> Result in: > >> > >>> Error code: 1 > >>> > >>> firebird_sdbc error > >>> *Dynamic SQL Error > >>> *SQL error code = -104 > >>> *Invalid usage of boolean expression > >>> caused by > >>> 'isc_dsql_prepare' > >> It appears that the run function is adding an operation that is not in > >> Query Design view. > >> > >> Any suggestions? > >> > >> Thanks > >> > >> Paul > >> > >> > >> On 1/15/2019 6:19 PM, Paul D. Mirowsky wrote: > >>> I am receiving the following error when opening a query. > >>> > firebird_sdbc error: > *Dynamic SQL Error > *SQL error code = -104 > *Invalid usage of boolean expression > caused by > 'isc_dsql_prepare' > >>> The table names are: Amps Volts-High > >>> > >>> The two tables involved both have one boolean field each, so I removed > >>> them from the query. The error still occurs. > >>> > >>> I am taking this to mean that there is a boolean comparison happening > >>> that is not in the SQL generated by Base. > >>> > >>> Is this possible? > >>> > >>> Thanks > >>> > >>> Paul > >>> > >>> > >>> > >> -- > >> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org > >> Problems? > >> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > >> Posting guidelines + more: > https://wiki.documentfoundation.org/Netiquette > >> List archive: https://listarchives.libreoffice.org/global/users/ > >> Privacy Policy: https://www.documentfoundation.org/privacy > >> > > -- > To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org > Problems? > https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette > List archive: https://listarchives.libreoffice.org/global/users/ > Privacy Policy: https://www.documentfoundation.org/privacy > -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-users] Base/Firebird Queries broken
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 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 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. Result in: Error code: 1 firebird_sdbc error *Dynamic SQL Error *SQL error code = -104 *Invalid usage of boolean expression caused by 'isc_dsql_prepare' It appears that the run function is adding an operation that is not in Query Design view. Any suggestions? Thanks Paul On 1/15/2019 6:19 PM, Paul D. Mirowsky wrote: I am receiving the following error when opening a query. firebird_sdbc error: *Dynamic SQL Error *SQL error code = -104 *Invalid usage of boolean expression caused by 'isc_dsql_prepare' The table names are: Amps Volts-High The two tables involved both have one boolean field each, so I removed them from the query. The error still occurs. I am taking this to mean that there is a boolean comparison happening that is not in the SQL generated by Base. Is this possible? Thanks Paul -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-users] Base/Firebird Queries broken
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 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 found > for example files for this feature. > > Seems to me it might be worthwhile to offer them for download (maybe as a > zip file) and reference that download location in the video and/or > associated posting text. > > On Wed, Jan 16, 2019 at 1:06 PM Drew Jensen > wrote: > >> 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 < >> p_mirow...@bentaxna.com> wrote: >> >>> 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. >>> >>> Result in: >>> >>> > Error code: 1 >>> > >>> > firebird_sdbc error >>> > *Dynamic SQL Error >>> > *SQL error code = -104 >>> > *Invalid usage of boolean expression >>> > caused by >>> > 'isc_dsql_prepare' >>> It appears that the run function is adding an operation that is not in >>> Query Design view. >>> >>> Any suggestions? >>> >>> Thanks >>> >>> Paul >>> >>> >>> On 1/15/2019 6:19 PM, Paul D. Mirowsky wrote: >>> > I am receiving the following error when opening a query. >>> > >>> >> firebird_sdbc error: >>> >> *Dynamic SQL Error >>> >> *SQL error code = -104 >>> >> *Invalid usage of boolean expression >>> >> caused by >>> >> 'isc_dsql_prepare' >>> > The table names are: Amps Volts-High >>> > >>> > The two tables involved both have one boolean field each, so I removed >>> > them from the query. The error still occurs. >>> > >>> > I am taking this to mean that there is a boolean comparison happening >>> > that is not in the SQL generated by Base. >>> > >>> > Is this possible? >>> > >>> > Thanks >>> > >>> > Paul >>> > >>> > >>> > >>> >>> -- >>> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org >>> Problems? >>> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ >>> Posting guidelines + more: >>> https://wiki.documentfoundation.org/Netiquette >>> List archive: https://listarchives.libreoffice.org/global/users/ >>> Privacy Policy: https://www.documentfoundation.org/privacy >>> >> -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-users] Base/Firebird Queries broken
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 found for example files for this feature. Seems to me it might be worthwhile to offer them for download (maybe as a zip file) and reference that download location in the video and/or associated posting text. On Wed, Jan 16, 2019 at 1:06 PM Drew Jensen wrote: > 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 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. >> >> Result in: >> >> > Error code: 1 >> > >> > firebird_sdbc error >> > *Dynamic SQL Error >> > *SQL error code = -104 >> > *Invalid usage of boolean expression >> > caused by >> > 'isc_dsql_prepare' >> It appears that the run function is adding an operation that is not in >> Query Design view. >> >> Any suggestions? >> >> Thanks >> >> Paul >> >> >> On 1/15/2019 6:19 PM, Paul D. Mirowsky wrote: >> > I am receiving the following error when opening a query. >> > >> >> firebird_sdbc error: >> >> *Dynamic SQL Error >> >> *SQL error code = -104 >> >> *Invalid usage of boolean expression >> >> caused by >> >> 'isc_dsql_prepare' >> > The table names are: Amps Volts-High >> > >> > The two tables involved both have one boolean field each, so I removed >> > them from the query. The error still occurs. >> > >> > I am taking this to mean that there is a boolean comparison happening >> > that is not in the SQL generated by Base. >> > >> > Is this possible? >> > >> > Thanks >> > >> > Paul >> > >> > >> > >> >> -- >> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org >> Problems? >> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ >> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette >> List archive: https://listarchives.libreoffice.org/global/users/ >> Privacy Policy: https://www.documentfoundation.org/privacy >> > -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-users] Base/Firebird Queries broken
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 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. > > Result in: > > > Error code: 1 > > > > firebird_sdbc error > > *Dynamic SQL Error > > *SQL error code = -104 > > *Invalid usage of boolean expression > > caused by > > 'isc_dsql_prepare' > It appears that the run function is adding an operation that is not in > Query Design view. > > Any suggestions? > > Thanks > > Paul > > > On 1/15/2019 6:19 PM, Paul D. Mirowsky wrote: > > I am receiving the following error when opening a query. > > > >> firebird_sdbc error: > >> *Dynamic SQL Error > >> *SQL error code = -104 > >> *Invalid usage of boolean expression > >> caused by > >> 'isc_dsql_prepare' > > The table names are: Amps Volts-High > > > > The two tables involved both have one boolean field each, so I removed > > them from the query. The error still occurs. > > > > I am taking this to mean that there is a boolean comparison happening > > that is not in the SQL generated by Base. > > > > Is this possible? > > > > Thanks > > > > Paul > > > > > > > > -- > To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org > Problems? > https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette > List archive: https://listarchives.libreoffice.org/global/users/ > Privacy Policy: https://www.documentfoundation.org/privacy > -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-users] Base/Firebird Queries broken
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. Result in: Error code: 1 firebird_sdbc error *Dynamic SQL Error *SQL error code = -104 *Invalid usage of boolean expression caused by 'isc_dsql_prepare' It appears that the run function is adding an operation that is not in Query Design view. Any suggestions? Thanks Paul On 1/15/2019 6:19 PM, Paul D. Mirowsky wrote: I am receiving the following error when opening a query. firebird_sdbc error: *Dynamic SQL Error *SQL error code = -104 *Invalid usage of boolean expression caused by 'isc_dsql_prepare' The table names are: Amps Volts-High The two tables involved both have one boolean field each, so I removed them from the query. The error still occurs. I am taking this to mean that there is a boolean comparison happening that is not in the SQL generated by Base. Is this possible? Thanks Paul -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-users] Base/Firebird Queries broken
I am receiving the following error when opening a query. firebird_sdbc error: *Dynamic SQL Error *SQL error code = -104 *Invalid usage of boolean expression caused by 'isc_dsql_prepare' The table names are: Amps Volts-High The two tables involved both have one boolean field each, so I removed them from the query. The error still occurs. I am taking this to mean that there is a boolean comparison happening that is not in the SQL generated by Base. Is this possible? Thanks Paul -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-users] Base/Firebird Queries broken
Hi Paul, as Dan wrote: Post the code of the query (opening SQL-view and copy). There are functions, which will work in HSQLDB, but won't work, with the same name, in Firebird. Regrads Robert -- Homepage: http://robert.familiegrosskopf.de LibreOffice Community: http://robert.familiegrosskopf.de/map_3 -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy
Re: [libreoffice-users] Base/Firebird Queries broken
To begin with, what is the query's SQL. Someone might be able to discover the problem from there. In addition, knowing the properties of each one of the tables could also help solve it. On 1/14/19 6:23 PM, Paul D. Mirowsky wrote: I have shifted one of my database to Firebird using the advanced 'migration' tool as a test. One query I am testing is a join of 4 tables. Series Series Series Series Date Date Date Time Time Time Criterion: Series 134, Select True I do have Alias fields, but understand from net search that they are disregarded by Firebird. I have waited 5 minutes for the query to process, but it only results in a blank screen or not responding. Windows 7 64 bit. LibreOffice Version: 6.1.3.2 (x64) The query did work with HSQLDB. Any hint as to where I'm going wrong. Thanks Paul -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy