I have a problem with ECount.
The statement generates an error:
int X = ECount("[ID]", "tblResource", "[ProjectID] =" & labID, True)
The Ecount should generate unique values of ID from the tblResource where projectId = labID
Error says & labID sub or function not defined. (labID is...