Hey everyone!

With the holiday season upon us, we want to share our upcoming working hours:

After that, we’ll return to our regular schedule and assist you as quickly as possible.

In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find tons of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel), which might just have the answers you need while we’re away.

Thanks a bunch for your understanding and support!

Warm regards and happy holidays!

TMS

Okay
  Public Ticket #2931169
Foreign Key
Closed

Comments

  • Mohamed Abdirahman started the conversation

    Hello, I have an issue with the foreign key I have created three tables, one of the tables is mixed of those tables it collects data from those tables, so I have two issues:

    1. when I follow the steps of pulling data from another column using foreign no data is being displayed to the table which required the data,

    2. some of the columns are integer, and when using a foreign key it must be a string, so I want, for example, an integer from another table to be added to the integer of this current table, even I can't use the formula calculation, coz the only available field is from those on this current table.

  •  2,572
    Aleksandar replied

    Hello Mohamed

    Sorry for the late response.

    1. Check if the column names of remote tables and the table you're configuring the foreign key in are the same. If the header is the same, it may not work properly.

    2. This can't be done. Unfortunately, the foreign key feature currently only works for string-type columns, so you can't use integers in it. Our developers have this planned for the future, but I can't say for sure when it will be implemented.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables