function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MadChemistMadChemist 

New to this - Help with Queries

I am trying to query all cases linked to a particular contact and have it return the following fields in an html template.  I am doing this using the print anything app.  Can someone get me started on the queries I need to write to get this information.  I have never done this before and am desperately trying to learn.  Any help would be greatly appreciated. 
 
Code:
<td>
 Case.AI_Date_c
</td>
<td>
 Contact.LastName
</td>
<td>
 Case.Subject
</td>
<td>
 Case.Description_of_Event__c
</td>
<td>
 Case.Person_Responsible__c
</td>
<td>
 Case.Event_Code__c
</td>
<td>
 Case.Clinical_Impact_Score__c
</td>
<td>
 Case.CAPA_c
</td>
<td>
 Case.Status
</td>
<td>
 Case.Time__c
</td>
<td>
 Case.Comments
</td>
</tr>