Here in this photo, by clicking on the add button, I can add as many data as possible.
I want to make it limited. I want to limit it 7. (1st photo)
In system-generated add button, I have given a query (2nd photo)
COUNT(Product[Related Photos]) <= 7
Whatโs wrong?
You have to include the key in your formula. It should look like this.
Sorry, this is not working. (screenshot -1)
I have tested in several ways.(screenshot -2,3)
Anyway, my Product table has no โKeyโ column, โItem codeโ is working as the primary key.
COUNT(
SELECT(
Product[Related Photos],
[Item code] = [_THISROW].[Item code]
)
) <= 7
Sorry, itโs also not working. Itโs still adding elements.
Actually, I have added this condition on Behavior -> Actions-> Product -> Add (Sys. generated) -> behavior -> Only if this condition is true
Your expression wont work to achieve what you want.
Refer to my old post here.
Hi,
I have applied all the suggestions that you wrote on your post.
In screenshot 1, I set parent table update/ delete only
in screenshot 2, a virtual column to the parent table
in 3, made an action attached to the parent table
in 4, made action button visible for condition N <= 7
But I got some output like (screenshot-5, 6)
The action is not visible here (not showing).
And No of Child row is inside the page.
Are my actions wrong? Please see.
Not sure your exact data schema, but it appears to me you are adding new row to own parent rather than child table.
See my post I shared with you to construct the process.
User | Count |
---|---|
44 | |
29 | |
22 | |
20 | |
14 |