I have table "Database" with columns "Item code", "item name", "quantity" etc.
The second table is "Shop" with columns "item code", "quantity" etc.
I need to reference the list of quantities while item codes match each other.
Appsheet does not let to use list expression in app formula if column type is "ref", so I
tried the formula in "Valid if" field.
select(
Database[quantity], [Item code]=[_thisrow].[Item code]
)
Unfortunately nothing happens. "quantity" column in "shop" table is still empty, nothing gets referenced.
Solved! Go to Solution.
Hi @Krismar
I think there is a confusion: you have "quantity" both in Database and Shop.
Can you try this:
[Related SHOPs][quantity]
Please note this expression should be used in the table Database.
This assumes the column "Item Code" in the SHOP table is set with type Ref and data source Database.
Hi @Krismar
@Krismar wrote:
Is it possible to ref a value entered in a form view?
Yes
@Aurelien wrote:
References between tables - AppSheet Help
Dereference expressions - AppSheet Help
@Krismar wrote:
for example if i remove 10 pieces of a product, can i copy over that quantity "10" via action to another table?
You can achieve that using an action:
Actions: The Essentials - AppSheet Help
User | Count |
---|---|
14 | |
11 | |
9 | |
7 | |
4 |