Possible to query table in sub-report - Forum

Forum Navigation
You need to log in to create posts and topics.

Possible to query table in sub-report

I have an application that has a primary person in Master Table with Related persons in Detail table.

My report (containing Sub-Report) queries (filters) those persons in the Master Table who will be attending an event.

The detail table contains persons who will be attending with them.

I have a field in the Detail table indicating whether the Related person is also attending.

Some Related people may not be coming so in my Report I want to filter only those coming with the Primary person.

Is it possible to query (filter) on the Sub-report table?

Hello,

Everything you want to show in your report you have to prepare before loading the report.
So this means that all the queries and filters have to be done in VisualNeo with DBPro.
After this you can display the query results in an report.

I seems that you already have the report running with your Master table, the same you should do with the data you want to show in the Sub-report.

Hopefully this will give a start, otherwise let the community know.

 

Best regards,

 

Eric Beerhorst

 

 

I queried the Master table which has worked from the beginning.

I queried the Details Table just before the report and the query didn't work on the Details Table.

I am expecting the answer to be to use SQL.  Some day I will get good at SQL.

@cssystems

I queried the Details Table just before the report and the query didn't work on the Details Table.

I am expecting the answer to be to use SQL.  Some day I will get good at SQL.

Perhaps you can start by posting details of ...

a) the Table Names and relevant Fields

b) all NeoDBPro commands you invoked