Column Data Type Issues

Hi AppSheet Community,

I have two tables:

  1. Orders: Contains an OrderID column (Type: Number, Key)
  2. view_Orders_Details: Contains an OrderID column (Type: Ref, referencing the Orders table)

Iโ€™m encountering an issue where the OrderID column in view_Orders_Details seems to be interpreted as Text instead of Number, causing errors when using formulas like FILTER or SELECT. For example, I tried the following formula in the Orders table:

T_I_Phong_0-1747812260914.png

However, I can use the formula: REF_ROWS("view_Orders_Details", "OrderID")

 

0 1 34
1 REPLY 1

Hello! Why not define your Order primary key as a text field, and enforce numeric input using a data validity rule like this: CONCATENATE(EXTRACTNUMBERS([OrderID]))?

Top Labels in this Space