I have two forms, each with sub forms.
The first form's subform is displayed as continuous forms and contains a value called 'folder_id'.
I want to enable the users to click on a folder_id and open another form/sub-form, displaying only records for the clicked-on folder_id.
The second form, the one to be opened, actually contains a sub-form within a sub-form. It is sub-sub-form that contains the folder_id.
WHAT I HAVE TRIED:
On the folder_id in the first firm, I tried doing a openform menu action on the double click event. I included a where condition in the macro. This will open the second form just fine, but does not open to and only to records matching the folder_id that was clicked.
DIRECTION OF THE SOLUTION?
I suspect I have to tell the macro which folder_id was clicked or has the focus (on the subform on form 1 there are many folder_ids displayed).
How to pass this to the macro, and how to apply it as a filter to a sub-sub form, I have no idea.
Help GREATLY appreciated.
The first form's subform is displayed as continuous forms and contains a value called 'folder_id'.
I want to enable the users to click on a folder_id and open another form/sub-form, displaying only records for the clicked-on folder_id.
The second form, the one to be opened, actually contains a sub-form within a sub-form. It is sub-sub-form that contains the folder_id.
WHAT I HAVE TRIED:
On the folder_id in the first firm, I tried doing a openform menu action on the double click event. I included a where condition in the macro. This will open the second form just fine, but does not open to and only to records matching the folder_id that was clicked.
DIRECTION OF THE SOLUTION?
I suspect I have to tell the macro which folder_id was clicked or has the focus (on the subform on form 1 there are many folder_ids displayed).
How to pass this to the macro, and how to apply it as a filter to a sub-sub form, I have no idea.
Help GREATLY appreciated.