Reply
Moderator
bob_buzzard
Posts: 6,427
0

Re: soql query issue error

I understand that. However, the fact is that detail records don't have owners.  The owner is derived from the parent record.

--
Certified Salesforce Technical Architect, Developer, Advanced Developer, Administrator, Advanced Administrator, Consultant, Sales Cloud Consultant,Service Cloud Consultant
Force.com MVP | The Bob Buzzard Blog | Linked In | Twitter

I don't respond to private messages/emails asking for help.


Take the Bob Buzzard Sobject Fields quiz.

Moderator
bob_buzzard
Posts: 6,427
0

Re: soql query issue error

You could use the CreatedById on the record - that would have the id of the user that created the record.

--
Certified Salesforce Technical Architect, Developer, Advanced Developer, Administrator, Advanced Administrator, Consultant, Sales Cloud Consultant,Service Cloud Consultant
Force.com MVP | The Bob Buzzard Blog | Linked In | Twitter

I don't respond to private messages/emails asking for help.


Take the Bob Buzzard Sobject Fields quiz.

Regular Contributor
raki
Posts: 29
0

Re: soql query issue error

thanks bob

Regular Contributor
raki
Posts: 29
0

Re: soql query issue error

How to make the check box true even if it is not ticked in visual force page, I mean the picture with tick mark.

 

<apex:column headerValue="checkBox" value="{!Records.checkBox__c}" style="{!IF(Records.checkBox == true,'','')}"/>

 

but its not working, is ther any other way

Moderator
bob_buzzard
Posts: 6,427
0

Re: soql query issue error

You'd need checkbox__c to be set to true to get this.  Otherwise you need to decouple the value from your record, maybe via a wrapper class.

--
Certified Salesforce Technical Architect, Developer, Advanced Developer, Administrator, Advanced Administrator, Consultant, Sales Cloud Consultant,Service Cloud Consultant
Force.com MVP | The Bob Buzzard Blog | Linked In | Twitter

I don't respond to private messages/emails asking for help.


Take the Bob Buzzard Sobject Fields quiz.