function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Please try this one.
COUNT() always return an integer value. So, you need to write your query like this.
Integer foo = [SELECT COUNT() FROM Form__c WHERE UserName__c ='username'];
Please mark it as best answer if it helps you.
Thank You,
Ajay Dubedi
All Answers
Please try this one.
COUNT() always return an integer value. So, you need to write your query like this.
Integer foo = [SELECT COUNT() FROM Form__c WHERE UserName__c ='username'];
Please mark it as best answer if it helps you.
Thank You,
Ajay Dubedi