Fetching Data from a Subform that fulfils specific criteria in Zoho Creator

Fetching Data from a Subform that fulfils specific criteria in Zoho Creator

Dear Everyone,

I have a subform (Reminder Details) within a form (Reminders) in which I am storing two columns, Serial Numbers and Dates. Now, I want to fetch data from that subform which I will be using in a deluge script. I want the dates to be extracted from the form which are greater than the zoho.currentdate and the closest one (minimum of all the dates in the form). I am unable to build the script for the specific action. Can someone please help me out with this?

Furthermore, if someone could also tell me how to hide a column from a subform on a user input, I'd be thankful for that as well.

Many Thanks,
Maaz Ansari