roattw Posted October 24, 2017 Report Share Posted October 24, 2017 In an attempt to simply tally the different choices made from a dropdown box people have suggested I use a SQL count in a calculated field. But no matter what formula I type Verify gives a syntax error and is not happy with a "(" with error: Incorrect syntax near (. Formula is select count(user_id) from table_name where [@field:CME_Category]='Value' All attempt and variations result in a syntax error. Think Im missing something basic about SQL format ina Caspio calculated field, naturally. Quote Link to comment Share on other sites More sharing options...
Vitalikssssss Posted October 24, 2017 Report Share Posted October 24, 2017 Hi roattw, You should make sure that you have used correct names of table/column (case sensitive). You may try to use the following expression: select count(user_id) from table_name where CME_Category='Value' Hope this helps. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.