How to geht the selected Record form a subform

Tap Forms Database Pro for Mac, iPhone, iPad and Apple Watch Forums Script Talk How to geht the selected Record form a subform

Viewing 2 reply threads
  • Author
    Posts
  • May 24, 2026 at 5:36 AM #54171

    Steve-Kai Vyska
    Participant

    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

    May 24, 2026 at 9:04 AM #54172

    Brendan
    Keymaster

    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

    May 24, 2026 at 2:09 PM #54177

    Steve-Kai Vyska
    Participant

    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

Viewing 2 reply threads

You must be logged in to reply to this topic.