Re: Using COUNT() in report
Posted: Fri Feb 26, 2021 8:28 pm
Acquire the date fields input as you want but send it (save it) in MySQL ANSI format - yyyy-mm-dd. All JS in the form gets lost when used to run a report.
I did that. I moved this convo to this post: https://forums.nubuilder.cloud/viewtopic. ... 2&start=10apmuthu wrote:Acquire the date fields input as you want but send it (save it) in MySQL ANSI format - yyyy-mm-dd. All JS in the form gets lost when used to run a report.
Code: Select all
SELECT TaxCustomers.* FROM TaxCustomers WHERE TaxCustomers.tax_billdate BETWEEN '#RPT_date1#' AND '#RPT_date2';
Code: Select all
SELECT TaxCustomers.* FROM TaxCustomers WHERE TaxCustomers.tax_billdate BETWEEN '#RPT_date1#' AND '#RPT_date2#';