Hi all,
I am loading a table with a bunch of names from a db table,
NO PROBS SO FAR.
I also currently have a separate table that allows a person to click their name via a view button and they get a count of their attendances based on what they attended, works great. Eg Alex clicks his name and sees he attended 3 training sessions as below, based on the DB read where conditions below.

Its based on a read function:

Gets its name_id from the address bar:

That part all works awesome. What I am after is for the same/copied and modified data base read to be able to produce those results in a table based on the result in the name column of that table (both name and count are coming from 2 seperate DB tables, name is identical field though):

So where is says meeting '0' it would produce the result say '3' based on the 'where conditions'
So can I have that where condition look at the result in the name column of that table, eg {data:table_name.Article.field_name}, instead of the current {data:name_id} and it would look at the name in the table column and go away to its db table get the results and provide the calculated answer?
Hope that makes sense!
Am using Latest Joomla and latest update of CC.
I am loading a table with a bunch of names from a db table,
NO PROBS SO FAR.
I also currently have a separate table that allows a person to click their name via a view button and they get a count of their attendances based on what they attended, works great. Eg Alex clicks his name and sees he attended 3 training sessions as below, based on the DB read where conditions below.
Its based on a read function:
Gets its name_id from the address bar:
That part all works awesome. What I am after is for the same/copied and modified data base read to be able to produce those results in a table based on the result in the name column of that table (both name and count are coming from 2 seperate DB tables, name is identical field though):
So where is says meeting '0' it would produce the result say '3' based on the 'where conditions'
So can I have that where condition look at the result in the name column of that table, eg {data:table_name.Article.field_name}, instead of the current {data:name_id} and it would look at the name in the table column and go away to its db table get the results and provide the calculated answer?
Hope that makes sense!
Am using Latest Joomla and latest update of CC.