Child records not getting reference id when added

Dan1
New Member

I have a Parent table (Clients) with 2 child tables (Visits) and (Members).
The original data was imported.
Parent has field unique Client_ID that was set as key.
Visits has the fields Visits_ID that was set as key and a ref Client_ID to the client.
Same structure for Members.

After import everything looks great, with Members and Visits listed with the appropriate Client.

UNIQUEID() is the initial value for all key fields.

Adding child records inline (hope that is the correct term). The Members,Visits records are created but they donโ€™t have a Client_ID ref value - they are orphans.

What am I missing?

Solved Solved
0 14 576
1 ACCEPTED SOLUTION

Any chance that the Ref field is set as not editable? That would explaing this behavior.

View solution in original post

14 REPLIES 14

From where are you triggering those child records?

Likely โ€˜Is a Part of?โ€™ is off, in your Visits/Members table - in your ref column.

Likely you are not creating rows for the Visits/Members table when you are creating a row in Clients table.

Dan1
New Member

This is just the system add action. Part of is set,

Dan1
New Member

Not adding new Clients here - just adding child records.

From what view do you add those child records? Are you triggering it from the parent recordโ€™s detail/inline view? I mean with the โ€œNewโ€ action?

Dan1
New Member

Iโ€™m a newbe, and this is a test system and my first. So, I might be missing something obvious.
I am using the โ€˜primaryโ€™ view on the Client and the system ref views.

I edit or view the Client - child records are display properly in line โ€“ I add child records there.

Yes, the NEW action.

Would you please take a prinscreen from that view where you trigger that child record.

Dan1
New Member

I moved the child grids to the top of the Client data - most of the time the user would just view the child info.

Aleksi, to be clear, I am clicking NEW below the child grids.

Soโ€ฆ when you add a new visit, you click that โ€œNewโ€ button under $0.01?

Dan1
New Member

Correct

Any chance that the Ref field is set as not editable? That would explaing this behavior.

Dan1
New Member

Yes, not editable. Changed and first test worked correctly on both tables.

Thanks, Aleksi.

Excellent!

Top Labels in this Space