How to query Count Components filtered to Current View Record? August 10, 2022, 02:38:55 AM Hello everyone,I've tried to construct a SQL query for the COUNT COMPONENT to limit records to the current record VIEW. But to no avail. Please help.current view:purchases/view primary field='pur_id'sql for the count component:"SELECT COUNT(*) AS num FROM purchase_details WHERE pur_id=?" parameter:$data['pur_id']Not working. Quote Selected Last Edit: August 10, 2022, 09:30:11 AM by jarry