P Purdue15 Registered User. Local time Today, 03:23 Joined Jun 12, 2013 Messages 29 Jun 19, 2013 #1 What is a function I can write under criteria that will count each value inside that column? For example [SELECT COUNT( * ) FROM "Weight"] Thanks
What is a function I can write under criteria that will count each value inside that column? For example [SELECT COUNT( * ) FROM "Weight"] Thanks
R rzw0wr I will always be a newbie Local time Today, 06:23 Joined Apr 1, 2012 Messages 489 Jun 19, 2013 #2 SELECT COUNT(Field) AS New FieldName FROM Table; I think you have to make a new field for each field. I don't think you can use * if there is more than 1 field in the query. I find this very helpful. http://www.w3schools.com/sql/default.asp Dale
SELECT COUNT(Field) AS New FieldName FROM Table; I think you have to make a new field for each field. I don't think you can use * if there is more than 1 field in the query. I find this very helpful. http://www.w3schools.com/sql/default.asp Dale
C CJ_London Super Moderator Staff member Local time Today, 11:23 Joined Feb 19, 2013 Messages 17,563 Jun 19, 2013 #3 try dcount("*","Weight") or SELECT Count(*) FROM WEIGHT