You need to sign in to do that
Don't have an account?

Visualforce Error Message
I keep getting an error message when I try to preview even after I changed the value from O to 1. Also, it has been running in production but now I need to revise it and cannot see a Preview. This was written by a consultant - so I am hoping to correct it without incurring additional charges from him.
When I click Preview The message reads:
Visualforce Error Help for this Page The value 'null' is not valid for operator '>' Error is in expression '{!AND(not(isInPast), not(SeriesRegOnly), (Training_Class__c.Course__r.Max_Registrants__c - Training_Class__c.Num_of_Attendees__c)>0)}' in component <apex:commandButton> in page register.
When I click Preview The message reads:
Visualforce Error Help for this Page The value 'null' is not valid for operator '>' Error is in expression '{!AND(not(isInPast), not(SeriesRegOnly), (Training_Class__c.Course__r.Max_Registrants__c - Training_Class__c.Num_of_Attendees__c)>0)}' in component <apex:commandButton> in page register.
You would need to verify that all the fields mentioned in the expression are filled with some values including the relationship fields that are on the parent record.