Hello everyone,
I have a form that contains a subform. In this subform, you can select a specific row by clicking the number at the front, for example to delete it.
Is there any way to get the ID of the selected record from the main form? Using a script or a script field would both be fine.
Best regards,
Steve
Hi Steve,
If you double-click on the record number, then that record becomes the selected record and can be referenced by using record in your script. But there’s no tracking from JavaScript of what child record is merely selected from the spreadsheet view on a Table or Link to Form field.
What are you trying to accomplish?
Thanks,
Brendan
Hi Brendan,
Ok, unfortunately double-clicking does not help in my case.
What I actually want to achieve is a mapping/assignment list for imported bank transactions.
My idea was:
* On one side, I have the imported account transactions.
* I select one transaction entry.
* In a second form, I select the related contract.
* Based on those two selections, I want to automatically create a new record in a third form.
The problem is that for this workflow I need access to the Rec-ID values of the selected entries from both subforms.
Does anyone know if there is a way in Tap Forms Pro to retrieve the currently selected Rec-ID from subforms, or otherwise access the selected related records programmatically?
C ya
Steve