Same strcuture table and settings, but different results.

Hi, I have an issue. I try to explain.

I Have 3 tables: Apoderados (parent table), Alumnos and Reitros.

The 2 child tables has the same structure and settings (Alumnos and Retiros)

Yeyo1976_0-1714050545203.pngYeyo1976_1-1714050574922.pngYeyo1976_6-1714050824028.pngYeyo1976_7-1714050845825.png

And no further formulas.

The parent table has this structure

Yeyo1976_2-1714050630267.png

So, when I create a new record in Apoderado table, it show this view.

Yeyo1976_3-1714050725199.png

Yeyo1976_4-1714050731955.png

So, when I click in Add  Alumnos, open a new window

Yeyo1976_5-1714050784332.png

Click Save and everything its ok

Yeyo1976_8-1714050972677.png

Then, I click in add Retiros Alumnos and I have to choose the Apoderados name, why the difference?

Yeyo1976_9-1714051025521.png

ANd then go to de data base, and show the "nombre apoderado" same as the RUT Apoderado, but the Label is Nombre APoderado in both tables.

Yeyo1976_10-1714051181036.pngYeyo1976_11-1714051210594.png

Why this happen?

 

Solved Solved
0 6 107
1 ACCEPTED SOLUTION

To be honest I do not know what is causing it.

Your REF_ROWS expression is definitely wrong. It has to be REF_ROWS("child table", "ref to parent column")

View solution in original post

6 REPLIES 6

It certainly should behave differently if both have the same structures.

One thing I noticed it that the ref columns in the child table indicated here

TeeSee1_0-1714053794967.png

do not seem to match your column definitions pictures, especially RETIROS ALUMNOS, which shows Nombre Apoderado as the intended Ref column. I do not know where you get this discrepancy in your pasted images but you at least need to resolve this. 

 

HI, thanks for the answer.

You're right, for some reason it shows RUT.

I went to the VC Related Retiros and manually change the value to Nombre Apoderado.

Yeyo1976_0-1714058286548.png

It work (I don't have the dropdown list anymore).

Do you know why the ref take in one table the Nombre and in the other Rut column as a refference if I used the same exact setting on both?

Yeyo1976_3-1714058882117.pngYeyo1976_4-1714058887492.png

ANd in the Apoderados form still shows different information

Yeyo1976_5-1714059044760.png

ANd, at last, in the Google Sheet DB, still shows Nombre y Rut with the same data

Yeyo1976_6-1714059130924.pngYeyo1976_7-1714059167442.png

 

 

 

 

 

To be honest I do not know what is causing it.

Your REF_ROWS expression is definitely wrong. It has to be REF_ROWS("child table", "ref to parent column")

Currently AppSheet allows only one table at a time to have the "IsPartOf" relationship.

Suvrutt_Gurjar_0-1714054114588.png

References between tables - AppSheet Help

 

 

 

Hi @Suvrutt_Gurjar 

I have a table that has two child tables and they work fine. I believe the document means a child table cannot have two parent tables defined.

TeeSee1_0-1714054411322.png

Oh yes @TeeSee1 . Thank you for the correction. Sorry for my inadvertent oversight of the details of the direction ( parent to child) that @Yeyo1976 mentioned.

@Yeyo1976 : Please ignore my above post.

Top Labels in this Space