
$query = "SELECT Service_Date__c, Lectionarysv__c, LectionaryNew__c, Service_Time__c, CreatedDate, Notes__c, Leader__c, Location__c, Service_Type__c, Lectionary6__r.Lectionary_Date__c,Lectionary6__r.Colour__c,Lectionary6__r.Period_Name__c, Lectionary6__r.Selected_Reading_Line__c from Service3__c WHERE Web_Publish__c = True ORDER BY Service3__c.Service_Date__c, Service3__c.Service_Time__c
";
The new field causing the problem is LectionaryNew__c .
..
echo "<td>".$record->Leader__c."</td>";
echo "<td>".$record->LectionaryNew__c."</td>";
The Leader__c field displays correctly but no data appears for LectionaryNew__c .
The entry in the WSDL is
Line 9013: <element name="LectionaryNew__c" nillable="true" minOccurs="0" type="xsd:string"/>
LectionaryNew__c is a text field 200 characters. I have checked that there is data in the field in the database.
Where should I look to find out what is causing this problem ? Thanks..Oh dear ... it helps if the name of the new WSDL is the same name as is in the connection statement..
I feel humbled !$mySforceConnection->createConnection("soapclient/enterprise.wsdl.xml");