You need to sign in to do that
Don't have an account?
maheshep.ax379
Relationship Query
I have created a custom object. say MyObject. A field in MyObject is UserDetail which
is relationship to the Contact Object. I had given the data type as
lookup. now i am able to store the id but i want to display name. how
can do this??? can any one give me a relationship SOQL.
Thanks in Advance
Thanks in Advance
In Visualforce page you should use <apex:outputField ...></apex:outputField>,
It will automatically render and display Name.
:smileyhappy: