Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Report with criteria

Questions related to nuBuilder Forte Reports and the Report Builder.
mariri
Posts: 45
Joined: Mon Sep 02, 2019 11:54 am

Report with criteria

Unread post by mariri »

Hi guys!

Is it possible to run a report with some criteria choosen by the user with the report builder ?
For example, I have a table named 'person'. I want a report which lists all the persons who were born between two dates defined by the user.

Thanks for ur help !
mariri
Posts: 45
Joined: Mon Sep 02, 2019 11:54 am

Re: Report with criteria

Unread post by mariri »

Ok I got it ! If it helps someone, I find the solution in the user guide (https://www.nubuilder.com/storage/pdf/n ... rGuide.pdf on page 62)
admin
Site Admin
Posts: 2813
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Report with criteria

Unread post by admin »

Well done.
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: Report with criteria

Unread post by kknm »

mariri wrote:Ok I got it ! If it helps someone, I find the solution in the user guide (https://www.nubuilder.com/storage/pdf/n ... rGuide.pdf on page 62)
I am trying to create a form with the criteria (Start Date - End Date) based on the table zzzzsys_setup - according to the manual page 67, where it says "You do not need to fill out any other fields on the Form Screen." But when saving, the error is -
"Must have at least 1 Tab Column Defined..
Must have at least 1 Browse Column Defined..

Maybe this is because I did not create a button for the end user (manual page 63-64), because this form with criteria will be applied to many reports and users.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Report with criteria

Unread post by kev1n »

"Must have at least 1 Tab Column Defined..", means you need to enter a Title and Order.

E.g. Main for the Title and 10 in the Order field.
tabs.jpg
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Report with criteria

Unread post by kev1n »

"Must have at least 1 Browse Column Defined....", means you need to have at least 1 Browse Column
browse_column.jpg
You do not have the required permissions to view the files attached to this post.
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: Report with criteria

Unread post by kknm »

Thanks it helped.
admin
Site Admin
Posts: 2813
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Report with criteria

Unread post by admin »

.
treed
Posts: 205
Joined: Mon May 18, 2020 12:02 am
Been thanked: 2 times
Contact:

Re: Report with criteria

Unread post by treed »

kknm wrote:
mariri wrote:Ok I got it ! If it helps someone, I find the solution in the user guide (https://www.nubuilder.com/storage/pdf/n ... rGuide.pdf on page 62)
I am trying to create a form with the criteria (Start Date - End Date) based on the table zzzzsys_setup - according to the manual page 67, where it says "You do not need to fill out any other fields on the Form Screen." But when saving, the error is -
"Must have at least 1 Tab Column Defined..
Must have at least 1 Browse Column Defined..

Maybe this is because I did not create a button for the end user (manual page 63-64), because this form with criteria will be applied to many reports and users.
I am trying to do a similar task with nuBuilder as kknm, Print a report with input parameters. The link above is broken and when looking at the current user manual the referenced info seems to be on page 69. The problem is that the example shown appears to create an action button that just runs the report and no parameters are passed. So going back to the original posters question, how does a developer pass parameters to a report?
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Report with criteria

Unread post by kev1n »

Hi,

Where is the data that is passed to the report? (In a form, table,...?)

Also read this:
https://forums.nubuilder.cloud/viewtopic. ... 17&p=21705
Post Reply