Questions tagged [nested]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
2k views

common.apex.runtime.impl.ExecutionException: SObject row was retrieved via SOQL without querying the requested field: Contact.bp_Billing_Address_1__c

I am trying to display a value from list which is created from multi-joined SOQL and though the field is part of SOQL statement, I still get the error: common.apex.runtime.impl.ExecutionException:...
7
votes
3answers
345 views

SOQL Query to retrieve Contacts from an Account sorted by the distance between the contact location and the account location

I'm trying to create a SOQL query to retrieve Contacts from Accounts, with the contacts for each account sorted by the distance between the contact location and the account location. This is what I ...
0
votes
1answer
206 views

SOQL Nested soql

I tried to get all the opp and contact from account where account name != null. But when I did debug I am not getting any result from opp and contact I am getting null result. Can any one please ...
2
votes
2answers
149 views

Nested query get failed

I am trying to do nested query but getting error while saving it. Contact and opprotunity have lookup to account. So I am trying to build a nested soql using this. But getting an error while saving ...
1
vote
1answer
3k views

Nested If Statment Formula field for Text fields

Hi I am trying to create a formula field that will provide a geography field based on the value of one or more fields. I currently get the followign error Error: Incorrect number of parameters ...
1
vote
2answers
749 views

apex:inputText not working inside nested apex:repeat tags

I am trying to have multiple text-boxes inside a table cell. I am creating the table using apex:repeat tag and the multiple text-boxes using another apex:repeat tag nested in the earlier one. The ...
2
votes
1answer
658 views

Nested map without SObject

I'm using a nested map to store inputs from a Visualforce page and when I try to write the code to retrieve those inputs, I am getting "Error: Compile Error: Initial term of field expression must be a ...
0
votes
2answers
520 views

Displaying results of a nested SOQL query in Schema Explorer

I have two custom objects, Team (parent) and Player (child). I'm using Schema Explorer in the Force.com IDE to understand the data that exists in those objects. I tried the following simple query as a ...
1
vote
2answers
3k views

How to restrict a column to display value if value exists

I have a pageblocktable that is inside pageblocksection. The pageblocktable has many columns. I want 1 of the columns to appear only if it exist. Following is my code... <apex:...
5
votes
2answers
7k views

Nested table using pageblock

So I want to add a nested table for another table. I'm able to add table 2 as nested for table 1. I could do this by adding a pageblocktable table 2 inside the last column of the pageblocktable of ...

1
2