N
N
nkorobkov2016-04-07 09:45:16
Database
nkorobkov, 2016-04-07 09:45:16

Why can't I link two tables in Open Office Base?

Created two tables ("Cars" and "Stores"):
Here are "Cars":
9838b7fa4bb74c2aaf33de3d8501f3d9.png4931f36e1cc8462dabfefe76522862e4.png
Here are "Stores":
0d0608558a434870a1ff2454df106d95.png7b794a11776c4c75b3293d28ec999176.png
I can't connect these tables with the "Shop" fields, the following error appears:
d33829c01ca84763bc5df03934009891.png
And this despite the fact that the primary keys are set to "ID" fields that are filled in automatically and are not repeated in any other table...
How to solve this problem and link these two tables? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly Medvedev, 2016-04-07
@nkorobkov

The "Shop" field in the "Cars" table should not be VARCHAR, but INT, as it should contain only the store ID.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question