• Rishi kalia
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies
Dear community,

I have created a few visualforce page who can be rendered as .pdf.

It's working well so far.
But i want and i really need to change the font size for one column.

I tried with the <font> attribute but it doesn't work.



here is an extract :



<apex:repeat value="{!Factures__c.Lignes_factures__r}" var="line">
   <tr >
      <td CLASS="MYTABLE" width="6%">{!rowNo}</td>
      <td width="60%" font-size="4px">
      <apex:OutputField value="{!line.Produit_ligne_facture__r.Name}"/><br/>
     <apex:OutputField value="{!line.Produit_ligne_facture__r.Description}" />
    
      
      </td>
      <td width="12%" align="right" ><apex:OutputField value="{!line.Tarif_mensuel_produit__c}"/></td>
      <td width="12%" align="right" ><b><apex:OutputField value="{!line.Nbre_de_mois_factures__c}"/></b></td>
      <td width="10%" align="right" ><apex:OutputField value="{!line.Montant_ligne_produit__c}"/></td>
   </tr>
  <apex:repeat>

I want to reduce the size of those datas :



<td width="60%" font-size="4px">
      <apex:OutputField value="{!line.Produit_ligne_facture__r.Name}"/><br/>
     <apex:OutputField value="{!line.Produit_ligne_facture__r.Description}" />
</td>
Thanks for your help i tried all the different thing that i found on the web but nothing work:/
Greetings,

Hi There,

 


Can any one please tell me where Iam going wrong in this trigger?

 

 

trigger calculateNewLeads on Campaign (before update) {
    
    List<Lead> leads=[SELECT Id, lead_source_details__c FROM Lead WHERE lead_source_details__c IN :Trigger.new];
    
    for (Campaign c : Trigger.new) {
        c.trigger_new_field__c=leads.size();
    }
    
    
}

 

Followintg is the error message - Error: Compile Error: Invalid bind expression type of SOBJECT:Campaign for column of type String at line 3 column 100.

 

Request all to kindly help.

 

Thanks,

George

Hello,

 

Can someone help me with an idea in finding the average age of opportunities in each stage?

 

Thanks in advance