Totally lost on script

Viewing 1 reply thread
  • Author
    Posts
  • November 15, 2025 at 4:01 PM #53219

    john bluma
    Participant

    I have two forms
    Parent form- Property. Fields PropId and OwnerName. One to many link to child.
    Child file Payments. Fields PaymentFor and Payee

    I would like to copy. PropId -> PaymentFor. and OwnerName -> Payee
    automatically when the child record is created.

    I have lloked at other posts in this forum and I just don’t get it.
    Can you help me get started on this?

    November 16, 2025 at 10:42 AM #53220

    Daniel Leu
    Participant

    In this case, it is easier to use a calculation field.

    First, check in the Property form that ‘show reverse relationship’ is selected for the one-to-man relationship. Then in the Payments form, create the two fields and select Calculation as the field type. For the formula, you now can select the respective field from the parent from. Return type must match the field type. That’s it.

    Cheers, Daniel

    ---
    See https://lab.danielleu.com/tapformspro/ for scripts and tips&tricks

Viewing 1 reply thread

You must be logged in to reply to this topic.