You need to sign in to do that
Don't have an account?
Extension for VF Page
I have the following:
sObject Resweep__c is the Parent in a Lookup Relationship with Site__c
sObject Site__c is the Parent in a Lookup Relationship with Video_Qualified_Address__c
sObject Video_Qualified_Address__c is the parent in a Lookup relationship with Subscriber__c
I need to write VF code to pull Video_Qualified_Address__c and Subscriber__c fields into a pageblocktable where Resweep__c.Site__c = Video_Qualified_Address__c.Site__c
I tried to use the code from your previous reply as a guide but I am having trouble with the condition that Site__c on the Resweep__c record = Site__c on the Video_Qualified_Address__c record.
I am at a total loss here. Still new to Apex Classes. I can get the VF compnent if I can get some assitance on the extension. Any help would be greatly appreciated.
Thanks,
Matt
Sorry I didn't see the original post / suggestion so we may be re-covering some ground here.
Do I understand your relationships properly?
Resweep has a lookup field for Site, so each Resweep has a single Site, but each Site can have multiple Resweeps.
Site has a lookup for Video_Q, so each Site has a single Video_Q, but each Video_Q can have multiple Sites
Video_Q has a look up for Subscriber, so each Video_Q has a single Subscriber, but each Subscriber can have mutliple Video_Q
Success,
JeffM
Jeff:
Yes, Resweep has a single site and each site can have multiple resweeps.
Site has a look up for Video_Q...each Video_Q has one Site but each Site can have multiple Video_Q
Video_Q has a lookup for Subscriber. This is a one-to-one lookup relationship.
I have not yet been able to solve this so any help you can give is appreciated!
Thanks,
Matt