how do I get the row ID of the parent record while in the child form. I want to write a java script to populate a 3rd table from the child record

  • 0
  • 1
  • Question
  • Updated 4 years ago
  • Answered
Photo of Tribs

Tribs

  • 20 Points

Posted 4 years ago

  • 0
  • 1
Photo of dwhawe

dwhawe, Champion

  • 908 Points 500 badge 2x thumb
I assume you mean "Record ID" rather than Row ID.

If Record ID is the Key Field of your Parent Table, then it is the value in the Related Parent field in your Child Table.

If it is not the Key Field in the Parent Table then add the Record ID of the parent table to your relationship as a lookup field.
Photo of Tribs

Tribs

  • 20 Points
Thank You!.
which means that I have to have the [Related Parent ID] on the form and hide it. isn't there an internal/global variable like kRid available ?.