I have Custom object DriverEfficiency__c which has (contact(lookup),Car_Meter_Reading__c,Efficiency_Rating__c,Fuel_Liter__c) fields.
The Problem is I need to create a Vf Page to retrieve records from contact and DriverEfficiency__c..
I used Wrapper Class to retrieve records from different objects.But I got the unrelated result.Contact field displays unrelated records for DriverEfficiency__c.
I need related contact records for the DriverEfficiency__c.(which has contact lookup)