+ Start a Discussion
mohimohi 

In datatable select the field using checkbox & show them on comand button c;ick event page

hi I m new to apex code development

plz help if you can

Ispita_NavatarIspita_Navatar

What exactly is you requirement?

Do you want to know how to query check box field? it can be done as below  say your checkbox field is Opt_out__c and you wish you extract those fields for whom the Opt_out_c field is set to true, then your query will be as under:-

Select id, Name, Opt_out__c from Contact where  Opt_out__c ='true'

 

Second part of your question is not clear please do elaborate.