You need to sign in to do that
Don't have an account?
Himanshu Ghate
conts=[Select Id,LastName,Email,Phone FROM Contact Where AccountId=:stdCtrl.getId()];
Can someone till, the meaning that ,What happing in this SOQL quiers:
Where AccountId=:stdCtrl.getId()];
Where AccountId=:stdCtrl.getId()];
The bind variable ":stdCtrl.getId()" represents the value of the Account ID of the currently viewed record in the Visualforce page controller.
In other words, this filter criteria specifies that only Contacts that are associated with the current Account record being viewed will be returned in the query results.
If this information helps, please mark answer as best. Thank you
All Answers
The bind variable ":stdCtrl.getId()" represents the value of the Account ID of the currently viewed record in the Visualforce page controller.
In other words, this filter criteria specifies that only Contacts that are associated with the current Account record being viewed will be returned in the query results.
If this information helps, please mark answer as best. Thank you
CustomOpp=[Select id,Name,Contact__c,Contact__c.Email FROM CustomOpportunity__c WHERE Id=:Id];
What the meaning of this.
WHERE Id=:Id-->