View My Drafts
Hi Paula,Hard to say with no table structure and relations.
USERELATIONSHIP is used when you have two or more relations between 2 tables and you want use in calculation non-active relation. From your code I think you use one table CONCURRENT_DATASOURCE_NEW, so I don't understand why USERELATIONSHIP? But as I said - hard to say without tables. And relations.
BTW try use COUNTROWS if you count records/rows.Regards.