Using url scripts to show reports for single record

Using url scripts to show reports for single record

Hi there,

I'm slowly getting my head around everything and have built up my app with a couple of scripted features. It's unfinished as yet and I just wondered if anyone could help with some final feature tweaks.

I have used a recLinkID URL to draw up a report of a single record, which is working perfectly:

void Results.FullRecord(int recLinkID)
{
}

Question 1 - This only works in summary view, if I go back to the list it does not filter the records. Can this be done?
Question 2 - Can you apply the same function but using a different field as the identifier? I've discovered that manually typing the URL with ?patientID= which will filter out results based on my patientID field, but when I modify the above script it will only draw on the record ID not one of my fields.
Question 3 - I have used a number of sub forms in my main data capture form. When I generate reports from these, I'm no longer able to use the above script, nor does manually typing a URL work. Are there any other options to script a record filter?
My as-yet unrefined app (with support team access enabled) is here:  https://app.zohocreator.com/nathan429/simcentre-hospital-records/#Report:View_All_Patients

Many thanks,
Nathan