+ Start a Discussion
RamyaKrishnaRamyaKrishna 

Reg: Getting field types using Field names

Hi,

How can i get the field types based on field names?

Support if the field name is City__c and type is Text(20).

Based on field name only i need to get the field type.

How is it possible.

 

 

Please help me.

 

 

Regards:

Ramya

Best Answer chosen by Admin (Salesforce Developers) 
NBlasgenNBlasgen

I just replied to you in another thread.  Use DescribeSObjects()