I have a little problem with my table. I wrote a table to give my moveable objects an randomly attribute (integer). But they don't change to the drains. Before, I gave them a string and averything worked well.
The software talks to me: "unacceptable data type: "string" or compatible data type expected."
I gave them a intiger, because I want to make a query with the intiger number.
Could anyone help me?
Thank you and best regards
Solved! Go to Solution.
I do not understand what you mean with table? Do you mean the switch-statement?
It seems that the user-defined attribute Zieletage is of data type integer. Then you need to define cases with integer values:
switch @.Inhalt.Zieletage case 1 -- do something end