• N c
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 2
    Replies
i have a  object and fields are Year__c and Month__c, when user is trying to insert another record with the same year and same month. we need to throw an error
  • January 15, 2018
  • Like
  • 0
Hi Developers, i have one scenario to calculate Yearly average  based on the months.

Ex:
Monthly                              yearly                       results
january = 100  --->            (100)/1                       100
february= 200 --->            (100+200)/2                150
March =   300 --->             (100+200+300)/3        200
April    = 400--->                (100+200+300+400)/4...
------
-----
-----
December==1200          (100+200+300+400+... +1200)/12
  • January 15, 2018
  • Like
  • 0
Hi ,
My question is ,i have two fields in Visual fofrce page. at the time of loading the page the cursor will be displaying in fisrt field. i want to display the cursor in 2nd field .

how to solve this problem?
  • September 10, 2015
  • Like
  • 0
Hi Developers, i have one scenario to calculate Yearly average  based on the months.

Ex:
Monthly                              yearly                       results
january = 100  --->            (100)/1                       100
february= 200 --->            (100+200)/2                150
March =   300 --->             (100+200+300)/3        200
April    = 400--->                (100+200+300+400)/4...
------
-----
-----
December==1200          (100+200+300+400+... +1200)/12
  • January 15, 2018
  • Like
  • 0
Hi ,
My question is ,i have two fields in Visual fofrce page. at the time of loading the page the cursor will be displaying in fisrt field. i want to display the cursor in 2nd field .

how to solve this problem?
  • September 10, 2015
  • Like
  • 0