0

creating a linked record in a subtable within a script

I want to create a record in a subtable from within a script. 

When I use let I := create 'subtable name', it creates a record, but it is not linked to the parent table. 

 

How do I link the new record to the parent table?

1 reply

null
    • Ninox partner
    • RoSoft_Steven.1
    • 1 yr ago
    • Reported - view

    Try this:

    let me := this;

    let i := create subtable;

    i.(ParentTable := me)

Content aside

  • 1 yr agoLast active
  • 1Replies
  • 79Views
  • 2 Following