I am using Libre 5.0.4,I am using libre base as front end and mysql as backend,i had created a query of ChallanDate_Min and ChallanDate_Max using sql design view, SELECT "tbl_generateid".*,"tbl_particularid".* FROM "odb_vishwakarmaenterprises"."tbl_generateid" , "odb_vishwakarmaenterprises"."tbl_particularid" WHERE "tbl_generateid"."ChallanID" = "tbl_particularid"."Challan_ID" AND (("Party_ID" = :var_PARTY_ID) OR (:var_PARTY_ID IS NULL)) AND (("ChallanDate" >= :var_DATE_FROM) OR (:var_DATE_FROM IS NULL)) AND (("ChallanDate" <= :var_DATE_TILL) OR (:var_DATE_TILL IS NULL)) AND (("ChallanID" = :var_CHALLAN_ID) OR (:var_CHALLAN_ID IS NULL)) The following where condition: (("ChallanDate" <= :var_DATE_TILL) OR (:var_DATE_TILL IS NULL)) doesnot give values equal to :var_DATE_TILL buts gives values less than :var_DATE_TILL. And on contrary the following where condition: (("ChallanDate" >= :var_DATE_FROM) OR (:var_DATE_FROM IS NULL)) gives perfect values of equal to greater than :var_DATE_FROM IS NULL.
Please try to solve my issue
Did it work in an older LibreOffice version?
Have tested with LO 5.1.1.1, also LO 5.0.4.2, OpenSUSE 42.1 64bit rpm-Linux and MariaDB direct connection: SELECT "Date" FROM "Database"."Table" AS "Table" WHERE ( "Date" >= :FROM AND "Date" <= :TO ) Shows all dates beginning with 'FROM' and ending with 'TO'. Same result as SELECT "Date" FROM "Database"."Table" AS "Table" WHERE ( "Date" BETWEEN :FROM AND :TO ) So I can't confirm this bug.
Thanks sir,But i have even tried with BETWEEN command but same problem is there,i think this could be because i have backend of mysql.
(In reply to RAV from comment #4) > Thanks sir,But i have even tried with BETWEEN command but same problem is > there,i think this could be because i have backend of mysql. @RAV : have you tried an explicit cast 'AS DATE' of the value returned by your comparison ?
@RAV : it would also help if you could provide a sample DDL instruction SQL file to create and populate a test table on mysql and an ODB file containing the corresponding query that you are having problems with.
Qa requests information ==>> needinfo
Dear Bug Submitter, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping-20170131
Dear Bug Submitter, Please read this message in its entirety before proceeding. Your bug report is being closed as INSUFFICIENTDATA due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided): a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present b) Provide easy to reproduce steps – the simpler the better c) Provide any test case(s) which will help us confirm the problem d) Provide screenshots of the problem if you think it might help e) Read all comments and provide any requested information Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. Please do not: a) respond via email b) update the version field in the bug or any of the other details on the top section of our bug tracker Warm Regards, QA Team MassPing-NeedInfo-20170301