You need to sign in to do that
Don't have an account?
ahbo
Visual Force Page : Accessing the Fields in Parent or Child Object
Hi ALL
I've created a custom object call Quotation and I would like to create a visual force page
in Quotation Tab that will access information in Account, Contacts and other customer object as well
I have a field in Quotation call Account_Name which is reference to the name of the account....
I don't know why I cannot call the field with the following code, please help !!!
<apexage standardController="Quotation__c">
{!Quotation__c.Account.Name}
</apexage>
This is the error message I can see...
Error : Invalid field Account for SObject Quotation__c
{!Quotation__c.Account.Name}
should probably be {!Quotation__c.Account__r.Name}
All Answers
{!Quotation__c.Account.Name}
should probably be {!Quotation__c.Account__r.Name}
Problem still exists !?
Error : Invalid field Account__r for SObject Qutation__c
Any one can suggest me some tutorials to read !?
Is this problem solved? I have the same problem now.
I have created a lookup relationship field in the child object. It still does not let me retrieve the values of the parent object.
My standard controller is set to the child object.
Hi,
I'm having the same issue. The relation is actually there and I'm using either the __c or the __r notation but keep getting errors like :
or some scary :
Save error: Unable to perform save on all files: UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 670267910-3442 (-1057160073)