You need to sign in to do that
Don't have an account?
David Matusow
Variable does not exist:
I am a very experienced developer and just ran into one that I just don't see. I'm trying to set a boolean variable from a javascript side. Here is the portion of the code:
The error shows "Compile Error: Variable does not exist: accountb at line 14 column 13". accountb is just above this. What am I missing??
// variables correlating to the checkboxes Boolean accountb, leadb, opportunityb; @RemoteAction public Null SetCategory(String category , Boolean setv) { if (category == 'account') { accountb = setv;(the code goes on with other setttings and ends with a close bracket)
The error shows "Compile Error: Variable does not exist: accountb at line 14 column 13". accountb is just above this. What am I missing??
All Answers
This would also work fine -