When table A references another table B, how do you select the field in table B that is displayed in
Options
![David Richardson](https://us.v-cdn.net/6037124/user_avatars/2509231.jpg)
David Richardson
Member ✭
This might seem complicated but here goes. Table references do not seem to working here.[table upset.jpg]in the background are the table references page. In the foreground (bottom right) is the table nonprofit_premium_art (table A).
Table A references artworks (table
. That's the RED arrow. One might expect that each artworks_id would be unique and different. Instead they "appear" to reference the artist id field (#14 in this case). Hence the values are all the same. This is not correct.
Any ideas to sort this out?
Table A references artworks (table
![B) B)](https://legacy-community.xano.com/resources/emoji/sunglasses.png)
Any ideas to sort this out?
Comments
-
- Everything appears correct. It looks like there is a table reference in your artworks table to your artist table, this field is being displayed due to your auto-complete settings. I think there is confusion because of the auto-complete data you are displaying for that table reference. I'd recommend adding the (primary) id field, or another field that helps you visualize things, to be displayed in your artworks table (open the settings icon in the top right, then select auto-complete). There's more details and a tutorial in our documentation
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback