Skip to main content

Timeline for Apex / Visualforce query

Current License: CC BY-SA 3.0

13 events
when toggle format what by license comment
Sep 7, 2017 at 7:49 vote accept NCSS
Sep 7, 2017 at 7:48 answer added NCSS timeline score: 0
Aug 16, 2017 at 7:22 comment added NCSS The last code : <apex:column value="{!con.accid}" headerValue="Oudste TL-aanvraag Id"/> <apex:column value="{!con.Name}" headerValue="Oudste TL-aanvraag"/> <apex:column value="{!con.ElectricityCurrentRedeliveryNum}" headerValue="TL oud"/> <apex:column value="{!con.ElectricityCurrentRedeliveryLowNum}" headerValue="TL oud (laag)"/> these should give me the first record values of consent record which is not coming up and the records are also not grouped up as requried
Aug 16, 2017 at 6:50 comment added NITHESH K Hi @satya , The SOQL "SELECT Count(Id)ids,Account__r.Id accids FROM Consent__c where CreatedDate >=:startDate AND LastModifiedDate <=:EndDate GROUP BY Account__r.Id" is correct according to your requirement. what you still missing in that and your said that "Unable to add Visual Force Page Code" , Which code ?
Aug 16, 2017 at 5:16 comment added NCSS Here Account is one object and it has 2 records Praveen1 & Praveen 2 The other object Consent has 10 records. 5 related to Praveen1 and the other 5 to Praveen2. The foutput should be like <<--Count - 5 ; Account ID - Praveen1 (accid) ; and Oldest Consent ID - AXYZ or first recordID of Consent related to Praveen1.
Aug 16, 2017 at 5:07 comment added NITHESH K Can u elaborate more this statement " Count of B // 10 ==== ID of A //a1 ====== ID of B // b1 (first ID if B)"
Aug 16, 2017 at 4:54 history edited martin CC BY-SA 3.0
code formatting
Aug 16, 2017 at 4:48 review Close votes
Aug 16, 2017 at 4:55
Aug 16, 2017 at 4:45 comment added NCSS I've added the controller code // unable to add the VF Page code
Aug 16, 2017 at 4:39 history edited NCSS CC BY-SA 3.0
added 5181 characters in body
Aug 16, 2017 at 4:19 comment added Santanu Boral can you post your code whatever you have tried so far. Also, regarding display can you post a excel format picture for understanding
Aug 16, 2017 at 4:16 history edited Santanu Boral CC BY-SA 3.0
added 8 characters in body
Aug 16, 2017 at 4:09 history asked NCSS CC BY-SA 3.0