Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

Using COUNT() in report

Questions related to nuBuilder Forte Reports and the Report Builder.
apmuthu
Posts: 249
Joined: Sun Dec 06, 2020 6:50 am
Location: Chennai, India, Singapore

Re: Using COUNT() in report

Unread post by apmuthu »

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.
icoso
Posts: 181
Joined: Sun Feb 07, 2021 11:09 pm
Been thanked: 1 time

Re: Using COUNT() in report

Unread post by icoso »

apmuthu 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.
I did that. I moved this convo to this post: https://forums.nubuilder.cloud/viewtopic. ... 2&start=10

Can you help me there? The long last post covers a lot of questions...
steven
Posts: 410
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 58 times
Been thanked: 55 times

Re: Using COUNT() in report

Unread post by steven »

icoso,

Code: Select all

SELECT TaxCustomers.* FROM TaxCustomers WHERE TaxCustomers.tax_billdate BETWEEN '#RPT_date1#' AND '#RPT_date2';
should be

Code: Select all

SELECT TaxCustomers.* FROM TaxCustomers WHERE TaxCustomers.tax_billdate BETWEEN '#RPT_date1#' AND '#RPT_date2#';

Steven
A short post is a good post.
Buy Kev a Coffee
icoso
Posts: 181
Joined: Sun Feb 07, 2021 11:09 pm
Been thanked: 1 time

Re: Using COUNT() in report

Unread post by icoso »

Yes, I have that. That was just a Typo in this forum post. As I mentioned in the other post in the Reports thread. I got it working - not the way the manuals, wikis, videos, examples show you how, but I got it working. The SQL is working now, but I had to call it and the report from a launch form.

HOWEVER, I still can't get the date variables passed into the report itself. They don't print on the report. I posted pictures.
Post Reply